pub struct Cbit(pub String, pub usize);
Expand description
A classical bit defined in an openqasm program. Contains the name of the register containing the bit, as well as the index of the bit in the register.
Tuple Fields§
§0: String
§1: usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cbit
impl RefUnwindSafe for Cbit
impl Send for Cbit
impl Sync for Cbit
impl Unpin for Cbit
impl UnwindSafe for Cbit
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