Enum cranelift_codegen::isa::unwind::input::UnwindCode [−][src]
pub enum UnwindCode<Reg> { SaveRegister { reg: Reg, stack_offset: u32, }, RestoreRegister { reg: Reg, }, StackAlloc { size: u32, }, StackDealloc { size: u32, }, SetFramePointer { reg: Reg, }, RestoreFramePointer, RememberState, RestoreState, }
Elementary operation in the unwind operations.
Variants
Defines that a register is saved at the specified offset.
Show fields
Fields of SaveRegister
Defines that a register is as defined before call.
The stack pointer was adjusted to allocate the stack.
Show fields
Fields of StackAlloc
size: u32
Size to allocate.
The stack pointer was adjusted to free the stack.
Show fields
Fields of StackDealloc
size: u32
Size to deallocate.
The alternative register was assigned as frame pointer base.
Restores a frame pointer base to default register.
Saves the state.
Restores the state.
Trait Implementations
impl<Reg: Clone> Clone for UnwindCode<Reg>
[src]
impl<Reg: Clone> Clone for UnwindCode<Reg>
[src]fn clone(&self) -> UnwindCode<Reg>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de, Reg> Deserialize<'de> for UnwindCode<Reg> where
Reg: Deserialize<'de>,
[src]
impl<'de, Reg> Deserialize<'de> for UnwindCode<Reg> where
Reg: Deserialize<'de>,
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<Reg: PartialEq> PartialEq<UnwindCode<Reg>> for UnwindCode<Reg>
[src]
impl<Reg: PartialEq> PartialEq<UnwindCode<Reg>> for UnwindCode<Reg>
[src]fn eq(&self, other: &UnwindCode<Reg>) -> bool
[src]
fn ne(&self, other: &UnwindCode<Reg>) -> bool
[src]
impl<Reg> Serialize for UnwindCode<Reg> where
Reg: Serialize,
[src]
impl<Reg> Serialize for UnwindCode<Reg> where
Reg: Serialize,
[src]impl<Reg: Eq> Eq for UnwindCode<Reg>
[src]
impl<Reg> StructuralEq for UnwindCode<Reg>
[src]
impl<Reg> StructuralPartialEq for UnwindCode<Reg>
[src]
Auto Trait Implementations
impl<Reg> RefUnwindSafe for UnwindCode<Reg> where
Reg: RefUnwindSafe,
Reg: RefUnwindSafe,
impl<Reg> Send for UnwindCode<Reg> where
Reg: Send,
Reg: Send,
impl<Reg> Sync for UnwindCode<Reg> where
Reg: Sync,
Reg: Sync,
impl<Reg> Unpin for UnwindCode<Reg> where
Reg: Unpin,
Reg: Unpin,
impl<Reg> UnwindSafe for UnwindCode<Reg> where
Reg: UnwindSafe,
Reg: UnwindSafe,
Blanket Implementations
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,