Struct llvm_bitcode::bitstream::AbbreviationId[][src]

pub struct AbbreviationId(_);

An AbbreviationId 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.

Implementations

impl AbbreviationId[src]

pub const END_BLOCK: Self[src]

Marks the end of the current block.

pub const ENTER_SUB_BLOCK: Self[src]

Marks the beginning of a new block.

pub const DEFINE_ABBREVIATION: Self[src]

Marks the definition of a new abbreviation.

pub const UNABBREVIATED_RECORD: Self[src]

Marks the definition of a new unabbreviated record.

pub const FIRST_APPLICATION_ID: Self[src]

The first application-defined abbreviation ID.

pub fn id(&self) -> u64[src]

Trait Implementations

impl Clone for AbbreviationId[src]

impl Copy for AbbreviationId[src]

impl Debug for AbbreviationId[src]

impl Eq for AbbreviationId[src]

impl Ord for AbbreviationId[src]

impl PartialEq<AbbreviationId> for AbbreviationId[src]

impl PartialOrd<AbbreviationId> for AbbreviationId[src]

impl StructuralEq for AbbreviationId[src]

impl StructuralPartialEq for AbbreviationId[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.