[][src]Struct gf::mc::Insn

pub struct Insn<'a> { /* fields omitted */ }

Instruction.

Implementations

impl<'a> Insn<'a>[src]

pub fn new() -> Self[src]

Create an empty instruction.

pub fn encoding(&self) -> &BitVec[src]

pub fn set_encoding(&mut self, encoding: BitVec)[src]

pub fn clear(&mut self)[src]

Clear the instruction.

pub fn tokens(&self) -> &[AggregateValue<'a>][src]

Return the instruction tokens.

pub fn push_token(&mut self, token: AggregateValue<'a>)[src]

Push a token at the end of the list.

pub fn to_string(&self) -> String[src]

Trait Implementations

impl<'a> Clone for Insn<'a>[src]

impl<'a> Eq for Insn<'a>[src]

impl<'a> Extend<AggregateValue<'a>> for Insn<'a>[src]

impl<'a> PartialEq<Insn<'a>> for Insn<'a>[src]

impl<'a> StructuralEq for Insn<'a>[src]

impl<'a> StructuralPartialEq for Insn<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Insn<'a>

impl<'a> Send for Insn<'a>

impl<'a> Sync for Insn<'a>

impl<'a> Unpin for Insn<'a>

impl<'a> UnwindSafe for Insn<'a>

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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.