pub struct LutBuilder { /* private fields */ }Expand description
Builder for emulator dispatch LUT generation.
Implementations§
Source§impl LutBuilder
impl LutBuilder
pub fn output(self, path: impl Into<String>) -> Self
pub fn handler_mod(self, m: impl Into<String>) -> Self
pub fn ctx_type(self, t: impl Into<String>) -> Self
pub fn dispatch(self, strategy: Dispatch) -> Self
pub fn group( self, name: impl Into<String>, instrs: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn lut_mod(self, path: impl Into<String>) -> Self
pub fn instr_type(self, t: impl Into<String>) -> Self
pub fn raw_expr(self, expr: impl Into<String>) -> Self
Sourcepub fn instr_type_output(self, path: impl Into<String>) -> Self
pub fn instr_type_output(self, path: impl Into<String>) -> Self
Also generate an instruction newtype with field accessors.
Auto Trait Implementations§
impl Freeze for LutBuilder
impl RefUnwindSafe for LutBuilder
impl Send for LutBuilder
impl Sync for LutBuilder
impl Unpin for LutBuilder
impl UnsafeUnpin for LutBuilder
impl UnwindSafe for LutBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more