struct CxProgramNana {
base: CxProgram,
random_seed: u32,
}Available on crate features
kirikiri and kirikiri-arc only.Fields§
§base: CxProgram§random_seed: u32Implementations§
Trait Implementations§
Source§impl Debug for CxProgramNana
impl Debug for CxProgramNana
Source§impl ICxProgram for CxProgramNana
impl ICxProgram for CxProgramNana
fn execute(&self, hash: u32) -> Result<u32>
fn clear(&mut self)
fn emit(&mut self, bytecode: CxByteCode, length: usize) -> bool
fn emit_nop(&mut self, count: usize) -> bool
fn emit_u32(&mut self, x: u32) -> bool
fn get_random(&mut self) -> u32
fn emit_random(&mut self) -> bool
Auto Trait Implementations§
impl Freeze for CxProgramNana
impl RefUnwindSafe for CxProgramNana
impl Send for CxProgramNana
impl Sync for CxProgramNana
impl Unpin for CxProgramNana
impl UnwindSafe for CxProgramNana
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more