Enum llvm_bitcode::bitstream::Operand [−][src]
Abbreviation operand
Variants
Literal(u64)
A literal value (emitted as a VBR8 field)
Fixed(u8)
A fixed-width field
Vbr(u8)
A VBR-encoded value with the provided chunk width
An array of values. This expects another operand encoded directly after indicating the element type. The array will begin with a vbr6 value indicating the length of the following array.
A char6-encoded ASCII character
Emitted as a vbr6 value, padded to a 32-bit boundary and then an array of 8-bit objects
Implementations
impl Operand
[src]
pub fn is_payload(&self) -> bool
[src]
Whether this case is payload
pub fn is_literal(&self) -> bool
[src]
Whether this case is the literal
case
pub fn is_array(&self) -> bool
[src]
pub fn is_blob(&self) -> bool
[src]
pub fn encoded_kind(&self) -> u8
[src]
The llvm::BitCodeAbbrevOp::Encoding value this enum case represents.
- note: Must match the encoding in http://llvm.org/docs/BitCodeFormat.html#define-abbrev-encoding
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Operand
[src]
impl Send for Operand
[src]
impl Sync for Operand
[src]
impl Unpin for Operand
[src]
impl UnwindSafe for Operand
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,