pub enum SaveClass {
CallerSaved,
CalleeSaved,
Unmapped,
}Expand description
Names whether a register survives a call.
Variants§
CallerSaved
Holds a value the caller must spill around a call.
CalleeSaved
Holds a value that survives a call.
Unmapped
Names no register on this target.
Trait Implementations§
impl Copy for SaveClass
impl Eq for SaveClass
impl StructuralPartialEq for SaveClass
Auto Trait Implementations§
impl Forget for SaveClass
impl Freeze for SaveClass
impl Move for SaveClass
impl RefUnwindSafe for SaveClass
impl Send for SaveClass
impl Sync for SaveClass
impl Unpin for SaveClass
impl UnsafeUnpin for SaveClass
impl UnwindSafe for SaveClass
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