#[repr(u32)]pub enum sparc_hint {
SPARC_HINT_INVALID = 0,
SPARC_HINT_A = 1,
SPARC_HINT_PT = 2,
SPARC_HINT_PN = 4,
}
Expand description
Branch hint
Variants§
SPARC_HINT_INVALID = 0
< no hint
SPARC_HINT_A = 1
< annul delay slot instruction
SPARC_HINT_PT = 2
< branch taken
SPARC_HINT_PN = 4
< branch NOT taken
Trait Implementations§
Source§impl Clone for sparc_hint
impl Clone for sparc_hint
Source§fn clone(&self) -> sparc_hint
fn clone(&self) -> sparc_hint
Returns a copy 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 sparc_hint
impl Debug for sparc_hint
Source§impl Hash for sparc_hint
impl Hash for sparc_hint
Source§impl PartialEq for sparc_hint
impl PartialEq for sparc_hint
impl Copy for sparc_hint
impl Eq for sparc_hint
impl StructuralPartialEq for sparc_hint
Auto Trait Implementations§
impl Freeze for sparc_hint
impl RefUnwindSafe for sparc_hint
impl Send for sparc_hint
impl Sync for sparc_hint
impl Unpin for sparc_hint
impl UnwindSafe for sparc_hint
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