Struct protokit_binformat::value::Field
source · pub struct Field<B> {
pub num: u32,
pub val: Value<B>,
}
Expand description
Single field tag + value
Fields§
§num: u32
§val: Value<B>
Trait Implementations§
source§impl<B: Ord> Ord for Field<B>
impl<B: Ord> Ord for Field<B>
source§impl<B: PartialEq> PartialEq for Field<B>
impl<B: PartialEq> PartialEq for Field<B>
source§impl<B: PartialOrd> PartialOrd for Field<B>
impl<B: PartialOrd> PartialOrd for Field<B>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<B: Eq> Eq for Field<B>
impl<B> StructuralPartialEq for Field<B>
Auto Trait Implementations§
impl<B> Freeze for Field<B>where
B: Freeze,
impl<B> RefUnwindSafe for Field<B>where
B: RefUnwindSafe,
impl<B> Send for Field<B>where
B: Send,
impl<B> Sync for Field<B>where
B: Sync,
impl<B> Unpin for Field<B>where
B: Unpin,
impl<B> UnwindSafe for Field<B>where
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
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.