pub struct DwarfDirective {
pub kind: DwarfDirectiveKind,
pub span: Span,
}Expand description
Raw dwarf directive emitted by the compiler (e.g. @@dwarf).
Syntax:
@@DWARF dwarf-string
dwarf-string may have one of the
.byte byte-list // comma-separated hexadecimal byte values
.4byte int32-list // comma-separated hexadecimal integers in range [0..2^32-1]
.quad int64-list // comma-separated hexadecimal integers in range [0..2^64-1]
.4byte label
.quad labelFields§
§kind: DwarfDirectiveKind§span: SpanImplementations§
Trait Implementations§
Source§impl Clone for DwarfDirective
impl Clone for DwarfDirective
Source§fn clone(&self) -> DwarfDirective
fn clone(&self) -> DwarfDirective
Returns a duplicate 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 DwarfDirective
impl Debug for DwarfDirective
Source§impl PartialEq for DwarfDirective
impl PartialEq for DwarfDirective
Source§impl PtxParser for DwarfDirective
impl PtxParser for DwarfDirective
Source§fn parse() -> impl Fn(&mut PtxTokenStream<'_>) -> Result<(Self, Span), PtxParseError>
fn parse() -> impl Fn(&mut PtxTokenStream<'_>) -> Result<(Self, Span), PtxParseError>
Returns a parser function that can parse an instance of
Self.Source§impl PtxUnparser for DwarfDirective
impl PtxUnparser for DwarfDirective
Source§impl Spanned for DwarfDirective
impl Spanned for DwarfDirective
Source§impl TreeDisplay for DwarfDirective
impl TreeDisplay for DwarfDirective
Source§fn tree_display(&self, f: &mut TreeFormatter, source: &str) -> Result
fn tree_display(&self, f: &mut TreeFormatter, source: &str) -> Result
Display this node in tree format. Read more
impl StructuralPartialEq for DwarfDirective
Auto Trait Implementations§
impl Freeze for DwarfDirective
impl RefUnwindSafe for DwarfDirective
impl Send for DwarfDirective
impl Sync for DwarfDirective
impl Unpin for DwarfDirective
impl UnwindSafe for DwarfDirective
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