pub struct ResolvedRef {
pub target_path: String,
pub target_anchor: Option<String>,
pub display: String,
}Fields§
§target_path: StringProject-relative target file as a forward-slash-separated string,
validated by resolve::parse_target. Always ends in .brf.
target_anchor: Option<String>Anchor in the target file, or None for a whole-file reference.
display: StringDisplay text (taken from the title positional arg).
Trait Implementations§
Source§impl Clone for ResolvedRef
impl Clone for ResolvedRef
Source§fn clone(&self) -> ResolvedRef
fn clone(&self) -> ResolvedRef
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 moreAuto Trait Implementations§
impl Freeze for ResolvedRef
impl RefUnwindSafe for ResolvedRef
impl Send for ResolvedRef
impl Sync for ResolvedRef
impl Unpin for ResolvedRef
impl UnsafeUnpin for ResolvedRef
impl UnwindSafe for ResolvedRef
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