pub struct Features { /* private fields */ }Implementations
sourceimpl Features
impl Features
pub fn new(
allow_dirty_qubits: bool,
allow_free_qubits: bool,
valid_after_measure: bool,
classical_control_flow: bool,
allow_dump: bool,
allow_measure: bool,
continue_after_dump: bool
) -> Features
pub fn all() -> Features
pub fn none() -> Features
pub fn register_plugin(&mut self, plugin: String)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Features
impl Send for Features
impl Sync for Features
impl Unpin for Features
impl UnwindSafe for Features
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more