pub struct ByteCount<const N: usize>;
Expand description
Specifies the number of bytes in a FixedBytes
array as a type.
Trait Implementations§
Source§impl SupportedFixedBytes for ByteCount<1>
impl SupportedFixedBytes for ByteCount<1>
Source§impl SupportedFixedBytes for ByteCount<10>
impl SupportedFixedBytes for ByteCount<10>
Source§impl SupportedFixedBytes for ByteCount<11>
impl SupportedFixedBytes for ByteCount<11>
Source§impl SupportedFixedBytes for ByteCount<12>
impl SupportedFixedBytes for ByteCount<12>
Source§impl SupportedFixedBytes for ByteCount<13>
impl SupportedFixedBytes for ByteCount<13>
Source§impl SupportedFixedBytes for ByteCount<14>
impl SupportedFixedBytes for ByteCount<14>
Source§impl SupportedFixedBytes for ByteCount<15>
impl SupportedFixedBytes for ByteCount<15>
Source§impl SupportedFixedBytes for ByteCount<16>
impl SupportedFixedBytes for ByteCount<16>
Source§impl SupportedFixedBytes for ByteCount<17>
impl SupportedFixedBytes for ByteCount<17>
Source§impl SupportedFixedBytes for ByteCount<18>
impl SupportedFixedBytes for ByteCount<18>
Source§impl SupportedFixedBytes for ByteCount<19>
impl SupportedFixedBytes for ByteCount<19>
Source§impl SupportedFixedBytes for ByteCount<2>
impl SupportedFixedBytes for ByteCount<2>
Source§impl SupportedFixedBytes for ByteCount<20>
impl SupportedFixedBytes for ByteCount<20>
Source§impl SupportedFixedBytes for ByteCount<21>
impl SupportedFixedBytes for ByteCount<21>
Source§impl SupportedFixedBytes for ByteCount<22>
impl SupportedFixedBytes for ByteCount<22>
Source§impl SupportedFixedBytes for ByteCount<23>
impl SupportedFixedBytes for ByteCount<23>
Source§impl SupportedFixedBytes for ByteCount<24>
impl SupportedFixedBytes for ByteCount<24>
Source§impl SupportedFixedBytes for ByteCount<25>
impl SupportedFixedBytes for ByteCount<25>
Source§impl SupportedFixedBytes for ByteCount<26>
impl SupportedFixedBytes for ByteCount<26>
Source§impl SupportedFixedBytes for ByteCount<27>
impl SupportedFixedBytes for ByteCount<27>
Source§impl SupportedFixedBytes for ByteCount<28>
impl SupportedFixedBytes for ByteCount<28>
Source§impl SupportedFixedBytes for ByteCount<29>
impl SupportedFixedBytes for ByteCount<29>
Source§impl SupportedFixedBytes for ByteCount<3>
impl SupportedFixedBytes for ByteCount<3>
Source§impl SupportedFixedBytes for ByteCount<30>
impl SupportedFixedBytes for ByteCount<30>
Source§impl SupportedFixedBytes for ByteCount<31>
impl SupportedFixedBytes for ByteCount<31>
Source§impl SupportedFixedBytes for ByteCount<32>
impl SupportedFixedBytes for ByteCount<32>
Source§impl SupportedFixedBytes for ByteCount<4>
impl SupportedFixedBytes for ByteCount<4>
Source§impl SupportedFixedBytes for ByteCount<5>
impl SupportedFixedBytes for ByteCount<5>
Source§impl SupportedFixedBytes for ByteCount<6>
impl SupportedFixedBytes for ByteCount<6>
Source§impl SupportedFixedBytes for ByteCount<7>
impl SupportedFixedBytes for ByteCount<7>
Source§impl SupportedFixedBytes for ByteCount<8>
impl SupportedFixedBytes for ByteCount<8>
Auto Trait Implementations§
impl<const N: usize> Freeze for ByteCount<N>
impl<const N: usize> RefUnwindSafe for ByteCount<N>
impl<const N: usize> Send for ByteCount<N>
impl<const N: usize> Sync for ByteCount<N>
impl<const N: usize> Unpin for ByteCount<N>
impl<const N: usize> UnwindSafe for ByteCount<N>
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