pub struct BitLength<const BITS: usize>;
Expand description
an empty struct used to represent a specific bit length.
this is then combined with some traits (ExactAssociatedStorage
, AssociatedStorage
) to perform operations on the
specified bit length.
Trait Implementations§
Source§impl AssociatedStorage for BitLength<1>
impl AssociatedStorage for BitLength<1>
Source§impl AssociatedStorage for BitLength<10>
impl AssociatedStorage for BitLength<10>
Source§impl AssociatedStorage for BitLength<11>
impl AssociatedStorage for BitLength<11>
Source§impl AssociatedStorage for BitLength<12>
impl AssociatedStorage for BitLength<12>
Source§impl AssociatedStorage for BitLength<13>
impl AssociatedStorage for BitLength<13>
Source§impl AssociatedStorage for BitLength<14>
impl AssociatedStorage for BitLength<14>
Source§impl AssociatedStorage for BitLength<15>
impl AssociatedStorage for BitLength<15>
Source§impl AssociatedStorage for BitLength<16>
impl AssociatedStorage for BitLength<16>
Source§impl AssociatedStorage for BitLength<17>
impl AssociatedStorage for BitLength<17>
Source§impl AssociatedStorage for BitLength<18>
impl AssociatedStorage for BitLength<18>
Source§impl AssociatedStorage for BitLength<19>
impl AssociatedStorage for BitLength<19>
Source§impl AssociatedStorage for BitLength<2>
impl AssociatedStorage for BitLength<2>
Source§impl AssociatedStorage for BitLength<20>
impl AssociatedStorage for BitLength<20>
Source§impl AssociatedStorage for BitLength<21>
impl AssociatedStorage for BitLength<21>
Source§impl AssociatedStorage for BitLength<22>
impl AssociatedStorage for BitLength<22>
Source§impl AssociatedStorage for BitLength<23>
impl AssociatedStorage for BitLength<23>
Source§impl AssociatedStorage for BitLength<24>
impl AssociatedStorage for BitLength<24>
Source§impl AssociatedStorage for BitLength<25>
impl AssociatedStorage for BitLength<25>
Source§impl AssociatedStorage for BitLength<26>
impl AssociatedStorage for BitLength<26>
Source§impl AssociatedStorage for BitLength<27>
impl AssociatedStorage for BitLength<27>
Source§impl AssociatedStorage for BitLength<28>
impl AssociatedStorage for BitLength<28>
Source§impl AssociatedStorage for BitLength<29>
impl AssociatedStorage for BitLength<29>
Source§impl AssociatedStorage for BitLength<3>
impl AssociatedStorage for BitLength<3>
Source§impl AssociatedStorage for BitLength<30>
impl AssociatedStorage for BitLength<30>
Source§impl AssociatedStorage for BitLength<31>
impl AssociatedStorage for BitLength<31>
Source§impl AssociatedStorage for BitLength<32>
impl AssociatedStorage for BitLength<32>
Source§impl AssociatedStorage for BitLength<33>
impl AssociatedStorage for BitLength<33>
Source§impl AssociatedStorage for BitLength<34>
impl AssociatedStorage for BitLength<34>
Source§impl AssociatedStorage for BitLength<35>
impl AssociatedStorage for BitLength<35>
Source§impl AssociatedStorage for BitLength<36>
impl AssociatedStorage for BitLength<36>
Source§impl AssociatedStorage for BitLength<37>
impl AssociatedStorage for BitLength<37>
Source§impl AssociatedStorage for BitLength<38>
impl AssociatedStorage for BitLength<38>
Source§impl AssociatedStorage for BitLength<39>
impl AssociatedStorage for BitLength<39>
Source§impl AssociatedStorage for BitLength<4>
impl AssociatedStorage for BitLength<4>
Source§impl AssociatedStorage for BitLength<40>
impl AssociatedStorage for BitLength<40>
Source§impl AssociatedStorage for BitLength<41>
impl AssociatedStorage for BitLength<41>
Source§impl AssociatedStorage for BitLength<42>
impl AssociatedStorage for BitLength<42>
Source§impl AssociatedStorage for BitLength<43>
impl AssociatedStorage for BitLength<43>
Source§impl AssociatedStorage for BitLength<44>
impl AssociatedStorage for BitLength<44>
Source§impl AssociatedStorage for BitLength<45>
impl AssociatedStorage for BitLength<45>
Source§impl AssociatedStorage for BitLength<46>
impl AssociatedStorage for BitLength<46>
Source§impl AssociatedStorage for BitLength<47>
impl AssociatedStorage for BitLength<47>
Source§impl AssociatedStorage for BitLength<48>
impl AssociatedStorage for BitLength<48>
Source§impl AssociatedStorage for BitLength<49>
impl AssociatedStorage for BitLength<49>
Source§impl AssociatedStorage for BitLength<5>
impl AssociatedStorage for BitLength<5>
Source§impl AssociatedStorage for BitLength<50>
impl AssociatedStorage for BitLength<50>
Source§impl AssociatedStorage for BitLength<51>
impl AssociatedStorage for BitLength<51>
Source§impl AssociatedStorage for BitLength<52>
impl AssociatedStorage for BitLength<52>
Source§impl AssociatedStorage for BitLength<53>
impl AssociatedStorage for BitLength<53>
Source§impl AssociatedStorage for BitLength<54>
impl AssociatedStorage for BitLength<54>
Source§impl AssociatedStorage for BitLength<55>
impl AssociatedStorage for BitLength<55>
Source§impl AssociatedStorage for BitLength<56>
impl AssociatedStorage for BitLength<56>
Source§impl AssociatedStorage for BitLength<57>
impl AssociatedStorage for BitLength<57>
Source§impl AssociatedStorage for BitLength<58>
impl AssociatedStorage for BitLength<58>
Source§impl AssociatedStorage for BitLength<59>
impl AssociatedStorage for BitLength<59>
Source§impl AssociatedStorage for BitLength<6>
impl AssociatedStorage for BitLength<6>
Source§impl AssociatedStorage for BitLength<60>
impl AssociatedStorage for BitLength<60>
Source§impl AssociatedStorage for BitLength<61>
impl AssociatedStorage for BitLength<61>
Source§impl AssociatedStorage for BitLength<62>
impl AssociatedStorage for BitLength<62>
Source§impl AssociatedStorage for BitLength<63>
impl AssociatedStorage for BitLength<63>
Source§impl AssociatedStorage for BitLength<64>
impl AssociatedStorage for BitLength<64>
Source§impl AssociatedStorage for BitLength<7>
impl AssociatedStorage for BitLength<7>
Source§impl AssociatedStorage for BitLength<8>
impl AssociatedStorage for BitLength<8>
Source§impl AssociatedStorage for BitLength<9>
impl AssociatedStorage for BitLength<9>
Source§impl ExactAssociatedStorage for BitLength<16>
impl ExactAssociatedStorage for BitLength<16>
Source§impl ExactAssociatedStorage for BitLength<32>
impl ExactAssociatedStorage for BitLength<32>
Source§impl ExactAssociatedStorage for BitLength<64>
impl ExactAssociatedStorage for BitLength<64>
Auto Trait Implementations§
impl<const BITS: usize> Freeze for BitLength<BITS>
impl<const BITS: usize> RefUnwindSafe for BitLength<BITS>
impl<const BITS: usize> Send for BitLength<BITS>
impl<const BITS: usize> Sync for BitLength<BITS>
impl<const BITS: usize> Unpin for BitLength<BITS>
impl<const BITS: usize> UnwindSafe for BitLength<BITS>
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