pub enum SwiFunction {
Show 18 variants
SoftReset,
WaitByLoop,
IntrWait,
VBlankIntrWait,
Halt,
Div,
Mod,
CpuSet,
CpuFastSet,
Sqrt,
GetCRC16,
IsDebugger,
BitUnPack,
LZ77UnCompReadNormalWrite8bit,
LZ77UnCompReadByCallbackWrite16bit,
HuffUnCompReadByCallback,
RLUnCompReadNormalWrite8bit,
RLUnCompReadByCallbackWrite16bit,
}Variants§
SoftReset
WaitByLoop
IntrWait
VBlankIntrWait
Halt
Div
Mod
CpuSet
CpuFastSet
Sqrt
GetCRC16
IsDebugger
BitUnPack
LZ77UnCompReadNormalWrite8bit
LZ77UnCompReadByCallbackWrite16bit
HuffUnCompReadByCallback
RLUnCompReadNormalWrite8bit
RLUnCompReadByCallbackWrite16bit
Implementations§
Source§impl SwiFunction
impl SwiFunction
pub fn interrupt_value(self) -> u32
pub fn name(self, return_reg: Register) -> &'static str
pub fn allows_arg(self) -> bool
Trait Implementations§
Source§impl Clone for SwiFunction
impl Clone for SwiFunction
Source§fn clone(&self) -> SwiFunction
fn clone(&self) -> SwiFunction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SwiFunction
impl Debug for SwiFunction
Source§impl TryFrom<u32> for SwiFunction
impl TryFrom<u32> for SwiFunction
impl Copy for SwiFunction
Auto Trait Implementations§
impl Freeze for SwiFunction
impl RefUnwindSafe for SwiFunction
impl Send for SwiFunction
impl Sync for SwiFunction
impl Unpin for SwiFunction
impl UnwindSafe for SwiFunction
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