pub struct SourceReference {
pub source_path: PathBuf,
pub kind: ReferenceKind,
pub target_route: PathBuf,
}Expand description
A detected reference from one source to another.
Fields§
§source_path: PathBufPath of the source file containing the reference
kind: ReferenceKindType of reference
target_route: PathBufTarget path (may be partial, resolved later)
Trait Implementations§
Source§impl Clone for SourceReference
impl Clone for SourceReference
Source§fn clone(&self) -> SourceReference
fn clone(&self) -> SourceReference
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 moreAuto Trait Implementations§
impl Freeze for SourceReference
impl RefUnwindSafe for SourceReference
impl Send for SourceReference
impl Sync for SourceReference
impl Unpin for SourceReference
impl UnwindSafe for SourceReference
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