pub struct VarWithGivenBitSize<T: Sized + Copy + BiserdiTraitVarBitSize + Default + Debug, const NUM_BITS: u64> {
pub val: T,
}Fields§
§val: TImplementations§
Trait Implementations§
Source§impl<T: Sized + Copy + BiserdiTraitVarBitSize + Default + Debug, const NUM_BITS: u64> BiserdiTrait for VarWithGivenBitSize<T, NUM_BITS>
impl<T: Sized + Copy + BiserdiTraitVarBitSize + Default + Debug, const NUM_BITS: u64> BiserdiTrait for VarWithGivenBitSize<T, NUM_BITS>
Source§impl<T: Clone + Sized + Copy + BiserdiTraitVarBitSize + Default + Debug, const NUM_BITS: u64> Clone for VarWithGivenBitSize<T, NUM_BITS>
impl<T: Clone + Sized + Copy + BiserdiTraitVarBitSize + Default + Debug, const NUM_BITS: u64> Clone for VarWithGivenBitSize<T, NUM_BITS>
Source§fn clone(&self) -> VarWithGivenBitSize<T, NUM_BITS>
fn clone(&self) -> VarWithGivenBitSize<T, NUM_BITS>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug + Sized + Copy + BiserdiTraitVarBitSize + Default + Debug, const NUM_BITS: u64> Debug for VarWithGivenBitSize<T, NUM_BITS>
impl<T: Debug + Sized + Copy + BiserdiTraitVarBitSize + Default + Debug, const NUM_BITS: u64> Debug for VarWithGivenBitSize<T, NUM_BITS>
Source§impl<T: Sized + Copy + BiserdiTraitVarBitSize + Default + Debug, const NUM_BITS: u64> Default for VarWithGivenBitSize<T, NUM_BITS>
impl<T: Sized + Copy + BiserdiTraitVarBitSize + Default + Debug, const NUM_BITS: u64> Default for VarWithGivenBitSize<T, NUM_BITS>
Source§impl<T: Sized + Copy + BiserdiTraitVarBitSize + Display + Default + Debug, const NUM_BITS: u64> Display for VarWithGivenBitSize<T, NUM_BITS>
impl<T: Sized + Copy + BiserdiTraitVarBitSize + Display + Default + Debug, const NUM_BITS: u64> Display for VarWithGivenBitSize<T, NUM_BITS>
Source§impl<T: Sized + Copy + BiserdiTraitVarBitSize + Default + Debug, const NUM_BITS: u64> From<T> for VarWithGivenBitSize<T, NUM_BITS>
impl<T: Sized + Copy + BiserdiTraitVarBitSize + Default + Debug, const NUM_BITS: u64> From<T> for VarWithGivenBitSize<T, NUM_BITS>
Source§impl<T: PartialEq + Sized + Copy + BiserdiTraitVarBitSize + Default + Debug, const NUM_BITS: u64> PartialEq for VarWithGivenBitSize<T, NUM_BITS>
impl<T: PartialEq + Sized + Copy + BiserdiTraitVarBitSize + Default + Debug, const NUM_BITS: u64> PartialEq for VarWithGivenBitSize<T, NUM_BITS>
Source§fn eq(&self, other: &VarWithGivenBitSize<T, NUM_BITS>) -> bool
fn eq(&self, other: &VarWithGivenBitSize<T, NUM_BITS>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<T: Copy + Sized + Copy + BiserdiTraitVarBitSize + Default + Debug, const NUM_BITS: u64> Copy for VarWithGivenBitSize<T, NUM_BITS>
impl<T: Eq + Sized + Copy + BiserdiTraitVarBitSize + Default + Debug, const NUM_BITS: u64> Eq for VarWithGivenBitSize<T, NUM_BITS>
impl<T: Sized + Copy + BiserdiTraitVarBitSize + Default + Debug, const NUM_BITS: u64> StructuralPartialEq for VarWithGivenBitSize<T, NUM_BITS>
Auto Trait Implementations§
impl<T, const NUM_BITS: u64> Freeze for VarWithGivenBitSize<T, NUM_BITS>where
T: Freeze,
impl<T, const NUM_BITS: u64> RefUnwindSafe for VarWithGivenBitSize<T, NUM_BITS>where
T: RefUnwindSafe,
impl<T, const NUM_BITS: u64> Send for VarWithGivenBitSize<T, NUM_BITS>where
T: Send,
impl<T, const NUM_BITS: u64> Sync for VarWithGivenBitSize<T, NUM_BITS>where
T: Sync,
impl<T, const NUM_BITS: u64> Unpin for VarWithGivenBitSize<T, NUM_BITS>where
T: Unpin,
impl<T, const NUM_BITS: u64> UnwindSafe for VarWithGivenBitSize<T, NUM_BITS>where
T: 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