pub enum TagKind {
PreeditUnderline,
PreeditConverted,
SelectedHighlight,
SyntaxColour(u32),
Highlight(u32),
}Expand description
Tag flavours carried by TextTagRange.
Variants§
PreeditUnderline
IME preedit underline (uncommitted composition).
PreeditConverted
IME preedit converted segment (committed-but-uncommitted in CJK).
SelectedHighlight
User selection highlight (renderer paints translucent background).
SyntaxColour(u32)
Syntax-colour overlay (paint with carried u32 colour packed RGBA).
Highlight(u32)
Generic highlight (link / search hit).
Trait Implementations§
impl Copy for TagKind
impl Eq for TagKind
impl StructuralPartialEq for TagKind
Auto Trait Implementations§
impl Freeze for TagKind
impl RefUnwindSafe for TagKind
impl Send for TagKind
impl Sync for TagKind
impl Unpin for TagKind
impl UnsafeUnpin for TagKind
impl UnwindSafe for TagKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> DynEq for T
impl<T> DynEq for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.