#[non_exhaustive]#[repr(u32)]pub enum PreeditStyle {
Default = 0,
None = 1,
Active = 2,
Inactive = 3,
Highlight = 4,
Underline = 5,
Selection = 6,
Incorrect = 7,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Default = 0
default style for composing text
None = 1
style should be the same as in non-composing text
Active = 2
Inactive = 3
Highlight = 4
Underline = 5
Selection = 6
Incorrect = 7
Implementations§
Trait Implementations§
source§impl Clone for PreeditStyle
impl Clone for PreeditStyle
source§fn clone(&self) -> PreeditStyle
fn clone(&self) -> PreeditStyle
Returns a copy of the value. Read more
1.0.0 · 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 PreeditStyle
impl Debug for PreeditStyle
source§impl PartialEq for PreeditStyle
impl PartialEq for PreeditStyle
source§fn eq(&self, other: &PreeditStyle) -> bool
fn eq(&self, other: &PreeditStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PreeditStyle
impl StructuralPartialEq for PreeditStyle
Auto Trait Implementations§
impl RefUnwindSafe for PreeditStyle
impl Send for PreeditStyle
impl Sync for PreeditStyle
impl Unpin for PreeditStyle
impl UnwindSafe for PreeditStyle
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