pub struct StencilLibrary<const MAX_REGS: usize> {
pub code: &'static [u8],
pub empty: &'static [u8],
pub moves: &'static StencilFamily<1, 1, MAX_REGS, 0, 1>,
}Expand description
A library of stencils
Fields§
§code: &'static [u8]All the stencil binary code, referred to by stencils
empty: &'static [u8]The code for an empty stencil, used to prune consecutive jumps
moves: &'static StencilFamily<1, 1, MAX_REGS, 0, 1>Stencils to move values between registers/the stack
Auto Trait Implementations§
impl<const MAX_REGS: usize> Freeze for StencilLibrary<MAX_REGS>
impl<const MAX_REGS: usize> RefUnwindSafe for StencilLibrary<MAX_REGS>
impl<const MAX_REGS: usize> Send for StencilLibrary<MAX_REGS>
impl<const MAX_REGS: usize> Sync for StencilLibrary<MAX_REGS>
impl<const MAX_REGS: usize> Unpin for StencilLibrary<MAX_REGS>
impl<const MAX_REGS: usize> UnsafeUnpin for StencilLibrary<MAX_REGS>
impl<const MAX_REGS: usize> UnwindSafe for StencilLibrary<MAX_REGS>
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