Struct gimli::write::FrameDescriptionEntry
source · Expand description
A frame description entry. There should be one FDE per function.
Fields§
§lsda: Option<Address>
The address of the LSDA.
Implementations§
source§impl FrameDescriptionEntry
impl FrameDescriptionEntry
sourcepub fn new(address: Address, length: u32) -> Self
pub fn new(address: Address, length: u32) -> Self
Create a new frame description entry for a function.
sourcepub fn add_instruction(&mut self, offset: u32, instruction: CallFrameInstruction)
pub fn add_instruction(&mut self, offset: u32, instruction: CallFrameInstruction)
Add an instruction.
Instructions must be added in increasing order of offset, or writing will fail.
Trait Implementations§
source§impl Clone for FrameDescriptionEntry
impl Clone for FrameDescriptionEntry
source§fn clone(&self) -> FrameDescriptionEntry
fn clone(&self) -> FrameDescriptionEntry
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 FrameDescriptionEntry
impl Debug for FrameDescriptionEntry
source§impl PartialEq<FrameDescriptionEntry> for FrameDescriptionEntry
impl PartialEq<FrameDescriptionEntry> for FrameDescriptionEntry
source§fn eq(&self, other: &FrameDescriptionEntry) -> bool
fn eq(&self, other: &FrameDescriptionEntry) -> bool
impl Eq for FrameDescriptionEntry
impl StructuralEq for FrameDescriptionEntry
impl StructuralPartialEq for FrameDescriptionEntry
Auto Trait Implementations§
impl RefUnwindSafe for FrameDescriptionEntry
impl Send for FrameDescriptionEntry
impl Sync for FrameDescriptionEntry
impl Unpin for FrameDescriptionEntry
impl UnwindSafe for FrameDescriptionEntry
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.