pub struct SelH<H: Hazard, const N: usize> { /* private fields */ }
Expand description
Wraps H
with additional selector bit in payload.
Selector bit represents the value in range [0, N).
Trait Implementations§
impl<H: Copy + Hazard, const N: usize> Copy for SelH<H, N>
Auto Trait Implementations§
impl<H, const N: usize> RefUnwindSafe for SelH<H, N>where
H: RefUnwindSafe,
impl<H, const N: usize> Send for SelH<H, N>where
H: Send,
impl<H, const N: usize> Sync for SelH<H, N>where
H: Sync,
impl<H, const N: usize> Unpin for SelH<H, N>where
H: Unpin,
impl<H, const N: usize> UnwindSafe for SelH<H, N>where
H: UnwindSafe,
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