Struct MatchingBracketHighlighter
struct MatchingBracketHighlighter { ... }
Highlight matching bracket when typed or cursor moved on.
Implementations
impl MatchingBracketHighlighter
fn new() -> SelfConstructor
impl Default for MatchingBracketHighlighter
fn default() -> MatchingBracketHighlighter
impl Freeze for MatchingBracketHighlighter
impl Highlighter for MatchingBracketHighlighter
fn highlight<'l>(self: &Self, line: &'l str, _pos: usize) -> Cow<'l, str>fn highlight_char(self: &Self, line: &str, pos: usize, kind: CmdKind) -> bool
impl RefUnwindSafe for MatchingBracketHighlighter
impl Send for MatchingBracketHighlighter
impl Sync for MatchingBracketHighlighter
impl Unpin for MatchingBracketHighlighter
impl UnwindSafe for MatchingBracketHighlighter
impl<T> Any for MatchingBracketHighlighter
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for MatchingBracketHighlighter
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for MatchingBracketHighlighter
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for MatchingBracketHighlighter
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for MatchingBracketHighlighter
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for MatchingBracketHighlighter
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for MatchingBracketHighlighter
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>