#[repr(u8)]pub enum LengthCode {
Lc0 = 0,
Lc1 = 1,
Lc2 = 2,
Lc3 = 3,
Lc4 = 4,
Lc5 = 5,
Lc6 = 6,
Lc7 = 7,
}Expand description
Length-Code-Variante (XTypes 1.3 §7.4.3.4.2). WP 1.A: alle 8 LCs.
Variants§
Lc0 = 0
1-byte body, no NEXTINT.
Lc1 = 1
2-byte body, no NEXTINT.
Lc2 = 2
4-byte body, no NEXTINT.
Lc3 = 3
8-byte body, no NEXTINT.
Lc4 = 4
Variable-length body, NEXTINT (uint32) = body length in bytes.
Lc5 = 5
Variable-length aggregate, NEXTINT = body length INKL. DHEADER.
Lc6 = 6
Array of 4-Byte-Primitives, NEXTINT = #Elemente, body = 4 + 4*N.
Lc7 = 7
Array of 8-Byte-Primitives, NEXTINT = #Elemente, body = 4 + 8*N.
Implementations§
Source§impl LengthCode
impl LengthCode
Trait Implementations§
Source§impl Clone for LengthCode
impl Clone for LengthCode
Source§fn clone(&self) -> LengthCode
fn clone(&self) -> LengthCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LengthCode
impl Debug for LengthCode
Source§impl Hash for LengthCode
impl Hash for LengthCode
Source§impl PartialEq for LengthCode
impl PartialEq for LengthCode
Source§fn eq(&self, other: &LengthCode) -> bool
fn eq(&self, other: &LengthCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LengthCode
impl Eq for LengthCode
impl StructuralPartialEq for LengthCode
Auto Trait Implementations§
impl Freeze for LengthCode
impl RefUnwindSafe for LengthCode
impl Send for LengthCode
impl Sync for LengthCode
impl Unpin for LengthCode
impl UnsafeUnpin for LengthCode
impl UnwindSafe for LengthCode
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