#[repr(C)]pub struct CbfImeTextSpan {
pub type_: u8,
pub start_offset: u32,
pub end_offset: u32,
pub underline_color: u32,
pub thickness: u8,
pub underline_style: u8,
pub text_color: u32,
pub background_color: u32,
pub suggestion_highlight_color: u32,
pub remove_on_finish_composing: bool,
pub interim_char_selection: bool,
pub should_hide_suggestion_menu: bool,
}Fields§
§type_: u8§start_offset: u32§end_offset: u32§underline_color: u32§thickness: u8§underline_style: u8§text_color: u32§background_color: u32§suggestion_highlight_color: u32§remove_on_finish_composing: bool§interim_char_selection: boolTrait Implementations§
Source§impl Clone for CbfImeTextSpan
impl Clone for CbfImeTextSpan
Source§fn clone(&self) -> CbfImeTextSpan
fn clone(&self) -> CbfImeTextSpan
Returns a duplicate 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 CbfImeTextSpan
impl Debug for CbfImeTextSpan
Source§impl Default for CbfImeTextSpan
impl Default for CbfImeTextSpan
Source§fn default() -> CbfImeTextSpan
fn default() -> CbfImeTextSpan
Returns the “default value” for a type. Read more
impl Copy for CbfImeTextSpan
Auto Trait Implementations§
impl Freeze for CbfImeTextSpan
impl RefUnwindSafe for CbfImeTextSpan
impl Send for CbfImeTextSpan
impl Sync for CbfImeTextSpan
impl Unpin for CbfImeTextSpan
impl UnsafeUnpin for CbfImeTextSpan
impl UnwindSafe for CbfImeTextSpan
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