pub struct HighlightArgs {
pub key: SpanKey,
pub bg: Option<String>,
pub fg: Option<String>,
pub emit: bool,
pub undo: bool,
pub save_selection: bool,
pub expand: bool,
}Fields§
§key: SpanKey§bg: Option<String>§fg: Option<String>§emit: bool§undo: bool§save_selection: bool§expand: boolTrait Implementations§
Source§impl Clone for HighlightArgs
impl Clone for HighlightArgs
Source§fn clone(&self) -> HighlightArgs
fn clone(&self) -> HighlightArgs
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 Debug for HighlightArgs
impl Debug for HighlightArgs
Source§impl Default for HighlightArgs
impl Default for HighlightArgs
Source§impl PartialEq for HighlightArgs
impl PartialEq for HighlightArgs
Source§fn eq(&self, other: &HighlightArgs) -> bool
fn eq(&self, other: &HighlightArgs) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HighlightArgs
Auto Trait Implementations§
impl Freeze for HighlightArgs
impl RefUnwindSafe for HighlightArgs
impl Send for HighlightArgs
impl Sync for HighlightArgs
impl Unpin for HighlightArgs
impl UnsafeUnpin for HighlightArgs
impl UnwindSafe for HighlightArgs
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