Struct gimli::write::FrameDescriptionEntry
source · pub struct FrameDescriptionEntry {
pub lsda: Option<Address>,
/* private fields */
}
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 for FrameDescriptionEntry
impl PartialEq for FrameDescriptionEntry
impl Eq for FrameDescriptionEntry
impl StructuralPartialEq for FrameDescriptionEntry
Auto Trait Implementations§
impl Freeze for FrameDescriptionEntry
impl RefUnwindSafe for FrameDescriptionEntry
impl Send for FrameDescriptionEntry
impl Sync for FrameDescriptionEntry
impl Unpin for FrameDescriptionEntry
impl UnwindSafe for FrameDescriptionEntry
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.