Expand description
Extra Header
Some commands require an additional header to follow the Command Header.
Variants
Rot(RotHdr)
Qubit(QubitHdr)
Comm(CommHdr)
None
Implementations
sourceimpl XtraHdr
impl XtraHdr
pub fn len(&self) -> u32
pub fn is_rot_hdr(&self) -> bool
pub fn is_qubit_hdr(&self) -> bool
pub fn is_comm_hdr(&self) -> bool
pub fn get_rot_hdr(self) -> RotHdr
pub fn get_qubit_hdr(self) -> QubitHdr
pub fn get_comm_hdr(self) -> CommHdr
pub fn is_some(&self) -> bool
pub fn is_none(&self) -> bool
Trait Implementations
impl StructuralPartialEq for XtraHdr
Auto Trait Implementations
impl RefUnwindSafe for XtraHdr
impl Send for XtraHdr
impl Sync for XtraHdr
impl Unpin for XtraHdr
impl UnwindSafe for XtraHdr
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