pub struct Parameter {
pub id: u32,
pub must_understand: bool,
pub impl_extension: bool,
pub len: usize,
/* private fields */
}Expand description
A parameter header read by Decoder::read_parameter or
Decoder::read_parameter_header.
Fields§
§id: u32The member ID (the low 14 bits of a short parameter ID, or the 28 bits of an extended header).
must_understand: boolFLAG_MUST_UNDERSTAND.
impl_extension: boolFLAG_IMPL_EXTENSION.
len: usizeThe length of the serialized member: 0 for an absent optional member.
Trait Implementations§
impl Copy for Parameter
impl Eq for Parameter
impl StructuralPartialEq for Parameter
Auto Trait Implementations§
impl Freeze for Parameter
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnsafeUnpin for Parameter
impl UnwindSafe for Parameter
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