pub struct WikilinkOccurrence {
pub page: PageId,
pub fragment: Option<WikilinkFragment>,
pub is_embed: bool,
pub byte_range: Range<usize>,
}Expand description
A parsed wikilink occurrence with its source location.
Fields§
§page: PageId§fragment: Option<WikilinkFragment>§is_embed: bool§byte_range: Range<usize>Trait Implementations§
Source§impl Clone for WikilinkOccurrence
impl Clone for WikilinkOccurrence
Source§fn clone(&self) -> WikilinkOccurrence
fn clone(&self) -> WikilinkOccurrence
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 WikilinkOccurrence
impl RefUnwindSafe for WikilinkOccurrence
impl Send for WikilinkOccurrence
impl Sync for WikilinkOccurrence
impl Unpin for WikilinkOccurrence
impl UnsafeUnpin for WikilinkOccurrence
impl UnwindSafe for WikilinkOccurrence
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