pub struct DefaultEditorRules<T, U>where
T: WordDivideRule,
U: NewlineRule,{ /* private fields */ }
Expand description
Provides default editor behavior and provides custom override function.
Implementations§
Source§impl<T, U> DefaultEditorRules<T, U>where
T: WordDivideRule,
U: NewlineRule,
impl<T, U> DefaultEditorRules<T, U>where
T: WordDivideRule,
U: NewlineRule,
Trait Implementations§
Source§impl<T, U> NewlineRule for DefaultEditorRules<T, U>where
T: WordDivideRule,
U: NewlineRule,
impl<T, U> NewlineRule for DefaultEditorRules<T, U>where
T: WordDivideRule,
U: NewlineRule,
fn evaluate_on_newline(&self, buf: &Buffer) -> bool
Source§impl<T, U> WordDivideRule for DefaultEditorRules<T, U>where
T: WordDivideRule,
U: NewlineRule,
impl<T, U> WordDivideRule for DefaultEditorRules<T, U>where
T: WordDivideRule,
U: NewlineRule,
impl<T, U> EditorRules for DefaultEditorRules<T, U>where
T: WordDivideRule,
U: NewlineRule,
Auto Trait Implementations§
impl<T, U> Freeze for DefaultEditorRules<T, U>
impl<T, U> RefUnwindSafe for DefaultEditorRules<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for DefaultEditorRules<T, U>
impl<T, U> Sync for DefaultEditorRules<T, U>
impl<T, U> Unpin for DefaultEditorRules<T, U>
impl<T, U> UnwindSafe for DefaultEditorRules<T, U>where
T: UnwindSafe,
U: UnwindSafe,
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