struct HxProgramLite {
base: CxProgram,
random_type: i32,
random_block: [u32; 624],
block_position: usize,
}Available on crate features
kirikiri and kirikiri-arc only.Fields§
§base: CxProgram§random_type: i32§random_block: [u32; 624]§block_position: usizeImplementations§
Source§impl HxProgramLite
impl HxProgramLite
Trait Implementations§
Source§impl Debug for HxProgramLite
impl Debug for HxProgramLite
Source§impl ICxProgram for HxProgramLite
impl ICxProgram for HxProgramLite
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 HxProgramLite
impl RefUnwindSafe for HxProgramLite
impl Send for HxProgramLite
impl Sync for HxProgramLite
impl Unpin for HxProgramLite
impl UnwindSafe for HxProgramLite
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