pub struct Gloss<'a> {
pub raw: &'a str,
pub definition: &'a str,
pub examples: Vec<&'a str>,
}Expand description
Parsed gloss with convenience helpers while keeping the raw text intact.
Fields§
§raw: &'a str§definition: &'a str§examples: Vec<&'a str>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Gloss<'a>
impl<'a> RefUnwindSafe for Gloss<'a>
impl<'a> Send for Gloss<'a>
impl<'a> Sync for Gloss<'a>
impl<'a> Unpin for Gloss<'a>
impl<'a> UnwindSafe for Gloss<'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