#[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
§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
type Primitive = u64
type Error = TryFromPrimitiveError<BuiltinAbbreviationId>
const NAME: &'static str = "BuiltinAbbreviationId"
fn try_from_primitive( number: Self::Primitive ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for BuiltinAbbreviationId
Auto Trait Implementations§
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