[−][src]Struct gf::mc::pipeline::TokenizerDecodeUnit
Tokenizer
-based implementation of DecodeUnit
.
Implementations
impl<'a> TokenizerDecodeUnit<'a>
[src]
pub fn new(tokenizer: Tokenizer<'a>) -> Self
[src]
Create a decode unit that uses tokenizer
to decode the instructions.
Trait Implementations
impl<'a> DecodeUnit<'a> for TokenizerDecodeUnit<'a>
[src]
fn module(&self) -> &'a Module
[src]
fn decode_mode_aggregate(&self) -> Option<Aggregate<'a>>
[src]
fn decode_insn_into(
&self,
_: BitVec,
_input: BitVec,
insn: &mut Insn<'a>
) -> Result<(), DecodeError>
[src]
&self,
_: BitVec,
_input: BitVec,
insn: &mut Insn<'a>
) -> Result<(), DecodeError>
fn decode_insn(
&self,
mode: BitVec,
input: BitVec
) -> Result<Insn<'a>, DecodeError>
[src]
&self,
mode: BitVec,
input: BitVec
) -> Result<Insn<'a>, DecodeError>
Auto Trait Implementations
impl<'a> RefUnwindSafe for TokenizerDecodeUnit<'a>
impl<'a> Send for TokenizerDecodeUnit<'a>
impl<'a> Sync for TokenizerDecodeUnit<'a>
impl<'a> Unpin for TokenizerDecodeUnit<'a>
impl<'a> UnwindSafe for TokenizerDecodeUnit<'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<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,