pub enum DetectorBatchView<'a> {
Masks(DetectorMaskBatchView<'a>),
Packed(PackedDetectorShotBatchView<'a>),
Events(DetectorEventShotBatchView<'a>),
}Expand description
One borrowed detector-syndrome batch tagged with its physical layout.
Variants§
Masks(DetectorMaskBatchView<'a>)
Packed(PackedDetectorShotBatchView<'a>)
Events(DetectorEventShotBatchView<'a>)
Implementations§
Trait Implementations§
Source§impl<'a> Clone for DetectorBatchView<'a>
impl<'a> Clone for DetectorBatchView<'a>
impl<'a> Copy for DetectorBatchView<'a>
Source§impl<'a> Debug for DetectorBatchView<'a>
impl<'a> Debug for DetectorBatchView<'a>
Source§impl<'a> From<DetectorEventShotBatchView<'a>> for DetectorBatchView<'a>
impl<'a> From<DetectorEventShotBatchView<'a>> for DetectorBatchView<'a>
Source§fn from(value: DetectorEventShotBatchView<'a>) -> Self
fn from(value: DetectorEventShotBatchView<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<DetectorMaskBatchView<'a>> for DetectorBatchView<'a>
impl<'a> From<DetectorMaskBatchView<'a>> for DetectorBatchView<'a>
Source§fn from(value: DetectorMaskBatchView<'a>) -> Self
fn from(value: DetectorMaskBatchView<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<PackedDetectorShotBatchView<'a>> for DetectorBatchView<'a>
impl<'a> From<PackedDetectorShotBatchView<'a>> for DetectorBatchView<'a>
Source§fn from(value: PackedDetectorShotBatchView<'a>) -> Self
fn from(value: PackedDetectorShotBatchView<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for DetectorBatchView<'a>
impl<'a> RefUnwindSafe for DetectorBatchView<'a>
impl<'a> Send for DetectorBatchView<'a>
impl<'a> Sync for DetectorBatchView<'a>
impl<'a> Unpin for DetectorBatchView<'a>
impl<'a> UnsafeUnpin for DetectorBatchView<'a>
impl<'a> UnwindSafe for DetectorBatchView<'a>
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