pub struct IntWithGivenBitSize<T: Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> {
pub val: T,
}
Fields§
§val: T
Implementations§
Source§impl<T: Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> IntWithGivenBitSize<T, NUM_BITS>
impl<T: Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> IntWithGivenBitSize<T, NUM_BITS>
Trait Implementations§
Source§impl<T: Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> BiserdiTrait for IntWithGivenBitSize<T, NUM_BITS>
impl<T: Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> BiserdiTrait for IntWithGivenBitSize<T, NUM_BITS>
Source§impl<T: Clone + Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> Clone for IntWithGivenBitSize<T, NUM_BITS>
impl<T: Clone + Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> Clone for IntWithGivenBitSize<T, NUM_BITS>
Source§fn clone(&self) -> IntWithGivenBitSize<T, NUM_BITS>
fn clone(&self) -> IntWithGivenBitSize<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 + Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> Debug for IntWithGivenBitSize<T, NUM_BITS>
impl<T: Debug + Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> Debug for IntWithGivenBitSize<T, NUM_BITS>
Source§impl<T: Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> Default for IntWithGivenBitSize<T, NUM_BITS>
impl<T: Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> Default for IntWithGivenBitSize<T, NUM_BITS>
Source§impl<T: Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> Display for IntWithGivenBitSize<T, NUM_BITS>
impl<T: Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> Display for IntWithGivenBitSize<T, NUM_BITS>
Source§impl<T: Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> From<T> for IntWithGivenBitSize<T, NUM_BITS>
impl<T: Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> From<T> for IntWithGivenBitSize<T, NUM_BITS>
Source§impl<T: PartialEq + Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> PartialEq for IntWithGivenBitSize<T, NUM_BITS>
impl<T: PartialEq + Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> PartialEq for IntWithGivenBitSize<T, NUM_BITS>
Source§fn eq(&self, other: &IntWithGivenBitSize<T, NUM_BITS>) -> bool
fn eq(&self, other: &IntWithGivenBitSize<T, NUM_BITS>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl<T: Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> ValFromInto<T> for IntWithGivenBitSize<T, NUM_BITS>
impl<T: Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> ValFromInto<T> for IntWithGivenBitSize<T, NUM_BITS>
impl<T: Eq + Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> Eq for IntWithGivenBitSize<T, NUM_BITS>
impl<T: Clone + IntegerBaseFunctions + Sized + BiserdiTraitVarBitSize + Default + Display + Debug, const NUM_BITS: u64> StructuralPartialEq for IntWithGivenBitSize<T, NUM_BITS>
Auto Trait Implementations§
impl<T, const NUM_BITS: u64> Freeze for IntWithGivenBitSize<T, NUM_BITS>where
T: Freeze,
impl<T, const NUM_BITS: u64> RefUnwindSafe for IntWithGivenBitSize<T, NUM_BITS>where
T: RefUnwindSafe,
impl<T, const NUM_BITS: u64> Send for IntWithGivenBitSize<T, NUM_BITS>where
T: Send,
impl<T, const NUM_BITS: u64> Sync for IntWithGivenBitSize<T, NUM_BITS>where
T: Sync,
impl<T, const NUM_BITS: u64> Unpin for IntWithGivenBitSize<T, NUM_BITS>where
T: Unpin,
impl<T, const NUM_BITS: u64> UnwindSafe for IntWithGivenBitSize<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