Enum wasmtime_environ::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 for UnwindCode<Reg> where
Reg: Clone,
[src]
impl<Reg> Clone for UnwindCode<Reg> where
Reg: Clone,
[src]pub fn clone(&self) -> UnwindCode<Reg>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<Reg> Debug for UnwindCode<Reg> where
Reg: Debug,
[src]
impl<Reg> Debug for UnwindCode<Reg> where
Reg: Debug,
[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]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<UnwindCode<Reg>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<UnwindCode<Reg>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl<Reg> PartialEq<UnwindCode<Reg>> for UnwindCode<Reg> where
Reg: PartialEq<Reg>,
[src]
impl<Reg> PartialEq<UnwindCode<Reg>> for UnwindCode<Reg> where
Reg: PartialEq<Reg>,
[src]pub fn eq(&self, other: &UnwindCode<Reg>) -> bool
[src]
pub 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]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl<Reg> Eq for UnwindCode<Reg> where
Reg: Eq,
[src]
Reg: Eq,
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>,