#[non_exhaustive]pub struct FixedLength<L = u32, B = NetworkEndian> { /* private fields */ }
Expand description
A fixed-length encoding which encodes numbers to the width of L
and the
endianness of B
.
Trait Implementations§
Source§impl<L: Clone, B: Clone> Clone for FixedLength<L, B>
impl<L: Clone, B: Clone> Clone for FixedLength<L, B>
Source§fn clone(&self) -> FixedLength<L, B>
fn clone(&self) -> FixedLength<L, B>
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 moreimpl<L: Copy, B: Copy> Copy for FixedLength<L, B>
Auto Trait Implementations§
impl<L, B> Freeze for FixedLength<L, B>
impl<L, B> RefUnwindSafe for FixedLength<L, B>where
L: RefUnwindSafe,
B: RefUnwindSafe,
impl<L, B> Send for FixedLength<L, B>
impl<L, B> Sync for FixedLength<L, B>
impl<L, B> Unpin for FixedLength<L, B>
impl<L, B> UnwindSafe for FixedLength<L, B>where
L: UnwindSafe,
B: 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