pub struct MentionRef<'a> {
pub id: &'a str,
pub display_label: &'a str,
}Expand description
Mention id + display label for @[label](id) resolution.
Fields§
§id: &'a str§display_label: &'a strTrait Implementations§
Source§impl<'a> Clone for MentionRef<'a>
impl<'a> Clone for MentionRef<'a>
Source§fn clone(&self) -> MentionRef<'a>
fn clone(&self) -> MentionRef<'a>
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 moreSource§impl<'a> Debug for MentionRef<'a>
impl<'a> Debug for MentionRef<'a>
impl<'a> Eq for MentionRef<'a>
Source§impl<'a> PartialEq for MentionRef<'a>
impl<'a> PartialEq for MentionRef<'a>
impl<'a> StructuralPartialEq for MentionRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for MentionRef<'a>
impl<'a> RefUnwindSafe for MentionRef<'a>
impl<'a> Send for MentionRef<'a>
impl<'a> Sync for MentionRef<'a>
impl<'a> Unpin for MentionRef<'a>
impl<'a> UnsafeUnpin for MentionRef<'a>
impl<'a> UnwindSafe for MentionRef<'a>
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