[−][src]Struct gf::mc::Insn
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]
fn extend<T: IntoIterator<Item = AggregateValue<'a>>>(&mut self, iter: T)
[src]
fn extend_one(&mut self, item: A)
[src]
fn extend_reserve(&mut self, additional: usize)
[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]
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<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[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>,