pub struct LocationDirective {
pub file_index: u32,
pub line: u32,
pub column: u32,
pub options: Vec<String>,
pub comment: Option<String>,
pub raw: String,
}Expand description
Structured representation of a .loc directive inside a PTX function.
Fields§
§file_index: u32§line: u32§column: u32§options: Vec<String>§comment: Option<String>§raw: StringTrait Implementations§
Source§impl Clone for LocationDirective
impl Clone for LocationDirective
Source§fn clone(&self) -> LocationDirective
fn clone(&self) -> LocationDirective
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 LocationDirective
impl Debug for LocationDirective
Source§impl PartialEq for LocationDirective
impl PartialEq for LocationDirective
impl Eq for LocationDirective
impl StructuralPartialEq for LocationDirective
Auto Trait Implementations§
impl Freeze for LocationDirective
impl RefUnwindSafe for LocationDirective
impl Send for LocationDirective
impl Sync for LocationDirective
impl Unpin for LocationDirective
impl UnwindSafe for LocationDirective
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