pub enum ModuleDebugDirective {
File {
directive: FileDirective,
span: Span,
},
Section {
directive: SectionDirective,
span: Span,
},
Dwarf {
directive: DwarfDirective,
span: Span,
},
}Expand description
Debugging directives defined by the PTX ISA.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ModuleDebugDirective
impl Clone for ModuleDebugDirective
Source§fn clone(&self) -> ModuleDebugDirective
fn clone(&self) -> ModuleDebugDirective
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 ModuleDebugDirective
impl Debug for ModuleDebugDirective
Source§impl PartialEq for ModuleDebugDirective
impl PartialEq for ModuleDebugDirective
Source§impl PtxParser for ModuleDebugDirective
impl PtxParser for ModuleDebugDirective
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 ModuleDebugDirective
impl PtxUnparser for ModuleDebugDirective
Source§impl Spanned for ModuleDebugDirective
impl Spanned for ModuleDebugDirective
Source§impl TreeDisplay for ModuleDebugDirective
impl TreeDisplay for ModuleDebugDirective
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 ModuleDebugDirective
Auto Trait Implementations§
impl Freeze for ModuleDebugDirective
impl RefUnwindSafe for ModuleDebugDirective
impl Send for ModuleDebugDirective
impl Sync for ModuleDebugDirective
impl Unpin for ModuleDebugDirective
impl UnwindSafe for ModuleDebugDirective
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