#[repr(u64)]pub enum BuiltinAbbreviationId {
EndBlock = 0,
EnterSubBlock = 1,
DefineAbbreviation = 2,
UnabbreviatedRecord = 3,
}
Expand description
An abbreviation id is a fixed-width field that occurs at the start of abbreviated data records and inside block definitions.
Bitstream reserves 4 special abbreviation IDs for its own bookkeeping.
Variants§
EndBlock = 0
Marks the end of the current block.
EnterSubBlock = 1
Marks the beginning of a new block.
DefineAbbreviation = 2
Marks the definition of a new abbreviation.
UnabbreviatedRecord = 3
Marks the definition of a new unabbreviated record.
Trait Implementations§
Source§impl Clone for BuiltinAbbreviationId
impl Clone for BuiltinAbbreviationId
Source§fn clone(&self) -> BuiltinAbbreviationId
fn clone(&self) -> BuiltinAbbreviationId
Returns a copy 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 BuiltinAbbreviationId
impl Debug for BuiltinAbbreviationId
Source§impl TryFrom<u64> for BuiltinAbbreviationId
impl TryFrom<u64> for BuiltinAbbreviationId
Source§type Error = TryFromPrimitiveError<BuiltinAbbreviationId>
type Error = TryFromPrimitiveError<BuiltinAbbreviationId>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for BuiltinAbbreviationId
impl TryFromPrimitive for BuiltinAbbreviationId
const NAME: &'static str = "BuiltinAbbreviationId"
type Primitive = u64
type Error = TryFromPrimitiveError<BuiltinAbbreviationId>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for BuiltinAbbreviationId
Auto Trait Implementations§
impl Freeze for BuiltinAbbreviationId
impl RefUnwindSafe for BuiltinAbbreviationId
impl Send for BuiltinAbbreviationId
impl Sync for BuiltinAbbreviationId
impl Unpin for BuiltinAbbreviationId
impl UnwindSafe for BuiltinAbbreviationId
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