pub struct Highlight {
pub value: Option<HighlightType>,
}
Fields§
§value: Option<HighlightType>
Trait Implementations§
Source§impl From<HighlightType> for Highlight
impl From<HighlightType> for Highlight
Source§fn from(val: HighlightType) -> Self
fn from(val: HighlightType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Highlight
impl RefUnwindSafe for Highlight
impl Send for Highlight
impl Sync for Highlight
impl Unpin for Highlight
impl UnwindSafe for Highlight
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