pub struct LocDirective {
pub span: Span,
pub file: u32,
pub line: u32,
pub column: u32,
pub function_name: Option<LocFunctionName>,
pub inlined_at: Option<LocInlineSite>,
}Fields§
§span: Span§file: u32§line: u32§column: u32§function_name: Option<LocFunctionName>§inlined_at: Option<LocInlineSite>Trait Implementations§
Source§impl Clone for LocDirective
impl Clone for LocDirective
Source§fn clone(&self) -> LocDirective
fn clone(&self) -> LocDirective
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LocDirective
impl Debug for LocDirective
Source§impl PartialEq for LocDirective
impl PartialEq for LocDirective
Source§fn eq(&self, other: &LocDirective) -> bool
fn eq(&self, other: &LocDirective) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LocDirective
Auto Trait Implementations§
impl Freeze for LocDirective
impl RefUnwindSafe for LocDirective
impl Send for LocDirective
impl Sync for LocDirective
impl Unpin for LocDirective
impl UnsafeUnpin for LocDirective
impl UnwindSafe for LocDirective
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