pub enum Capitalize {
None,
Words,
Sentences,
All,
}
Expand description
Input Method Editor (IME) capitalization.
Variants§
None
No capitalization.
Words
Capitalize the first letter of each word.
Sentences
Capitalize the first letter of each sentence (default).
All
Capitalize all letters.
Trait Implementations§
Source§impl Clone for Capitalize
impl Clone for Capitalize
Source§fn clone(&self) -> Capitalize
fn clone(&self) -> Capitalize
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 Capitalize
impl Debug for Capitalize
Source§impl Default for Capitalize
impl Default for Capitalize
Source§fn default() -> Capitalize
fn default() -> Capitalize
Returns the “default value” for a type. Read more
Source§impl Hash for Capitalize
impl Hash for Capitalize
Source§impl PartialEq for Capitalize
impl PartialEq for Capitalize
impl Copy for Capitalize
impl Eq for Capitalize
impl StructuralPartialEq for Capitalize
Auto Trait Implementations§
impl Freeze for Capitalize
impl RefUnwindSafe for Capitalize
impl Send for Capitalize
impl Sync for Capitalize
impl Unpin for Capitalize
impl UnwindSafe for Capitalize
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