pub struct AutoRebase {
pub basis_allowed: Vec<String>,
pub allow_swaps: bool,
}Expand description
Automatically rebase to a given gate set.
Fields§
§basis_allowed: Vec<String>OpTypes of supported gates.
allow_swaps: boolWhether swaps can be introduced while rebasing.
Trait Implementations§
Source§impl Clone for AutoRebase
impl Clone for AutoRebase
Source§fn clone(&self) -> AutoRebase
fn clone(&self) -> AutoRebase
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AutoRebase
impl Debug for AutoRebase
Source§impl<'de> Deserialize<'de> for AutoRebase
impl<'de> Deserialize<'de> for AutoRebase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AutoRebase
impl PartialEq for AutoRebase
Source§impl Serialize for AutoRebase
impl Serialize for AutoRebase
impl StructuralPartialEq for AutoRebase
Auto Trait Implementations§
impl Freeze for AutoRebase
impl RefUnwindSafe for AutoRebase
impl Send for AutoRebase
impl Sync for AutoRebase
impl Unpin for AutoRebase
impl UnwindSafe for AutoRebase
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more