pub struct FieldLength {
pub length: usize,
pub kind: LengthPrefixKind,
}
Expand description
Information about the length of a field.
Fields§
§length: usize
§kind: LengthPrefixKind
Trait Implementations§
Source§impl Clone for FieldLength
impl Clone for FieldLength
Source§fn clone(&self) -> FieldLength
fn clone(&self) -> FieldLength
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 Debug for FieldLength
impl Debug for FieldLength
Source§impl Ord for FieldLength
impl Ord for FieldLength
Source§fn cmp(&self, other: &FieldLength) -> Ordering
fn cmp(&self, other: &FieldLength) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FieldLength
impl PartialEq for FieldLength
Source§impl PartialOrd for FieldLength
impl PartialOrd for FieldLength
impl Copy for FieldLength
impl Eq for FieldLength
impl StructuralPartialEq for FieldLength
Auto Trait Implementations§
impl Freeze for FieldLength
impl RefUnwindSafe for FieldLength
impl Send for FieldLength
impl Sync for FieldLength
impl Unpin for FieldLength
impl UnwindSafe for FieldLength
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