#[repr(u32)]pub enum DetectorBatchFormat {
Masks = 1,
Packed = 2,
Events = 3,
}Expand description
Detector syndrome layouts accepted by native decoders, in preference order.
Variants§
Implementations§
Source§impl DetectorBatchFormat
impl DetectorBatchFormat
pub const STABLE_ORDER: [Self; 3]
pub const fn correction_format(self) -> Self
Trait Implementations§
Source§impl Clone for DetectorBatchFormat
impl Clone for DetectorBatchFormat
impl Copy for DetectorBatchFormat
Source§impl Debug for DetectorBatchFormat
impl Debug for DetectorBatchFormat
impl Eq for DetectorBatchFormat
Source§impl Hash for DetectorBatchFormat
impl Hash for DetectorBatchFormat
Source§impl PartialEq for DetectorBatchFormat
impl PartialEq for DetectorBatchFormat
impl StructuralPartialEq for DetectorBatchFormat
Auto Trait Implementations§
impl Freeze for DetectorBatchFormat
impl RefUnwindSafe for DetectorBatchFormat
impl Send for DetectorBatchFormat
impl Sync for DetectorBatchFormat
impl Unpin for DetectorBatchFormat
impl UnsafeUnpin for DetectorBatchFormat
impl UnwindSafe for DetectorBatchFormat
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