pub struct NodeProvenance {
pub source_path: Option<InternedStr>,
pub line_start: u32,
pub line_end: u32,
pub excerpt: Option<InternedStr>,
pub namespace: Option<InternedStr>,
pub canonical: bool,
}Fields§
§source_path: Option<InternedStr>§line_start: u32§line_end: u32§excerpt: Option<InternedStr>§namespace: Option<InternedStr>§canonical: boolTrait Implementations§
Source§impl Clone for NodeProvenance
impl Clone for NodeProvenance
Source§fn clone(&self) -> NodeProvenance
fn clone(&self) -> NodeProvenance
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 NodeProvenance
impl Debug for NodeProvenance
Source§impl Default for NodeProvenance
impl Default for NodeProvenance
Source§fn default() -> NodeProvenance
fn default() -> NodeProvenance
Returns the “default value” for a type. Read more
impl Copy for NodeProvenance
Auto Trait Implementations§
impl Freeze for NodeProvenance
impl RefUnwindSafe for NodeProvenance
impl Send for NodeProvenance
impl Sync for NodeProvenance
impl Unpin for NodeProvenance
impl UnsafeUnpin for NodeProvenance
impl UnwindSafe for NodeProvenance
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