pub struct Link<'input> { /* private fields */ }Implementations§
Source§impl<'input> Link<'input>
impl<'input> Link<'input>
pub fn new( children: Children<'input>, span: &'input str, source: &'input str, title: Option<&'input str>, ) -> Self
pub fn as_span(&self) -> &str
pub fn children(&self) -> &Children<'_>
pub fn children_mut(&'input mut self) -> &mut Children<'_>
pub fn source(&self) -> &'input str
pub fn title(&self) -> Option<&'input str>
Trait Implementations§
impl<'input> StructuralPartialEq for Link<'input>
Auto Trait Implementations§
impl<'input> Freeze for Link<'input>
impl<'input> RefUnwindSafe for Link<'input>
impl<'input> Send for Link<'input>
impl<'input> Sync for Link<'input>
impl<'input> Unpin for Link<'input>
impl<'input> UnsafeUnpin for Link<'input>
impl<'input> UnwindSafe for Link<'input>
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