#[non_exhaustive]pub enum TextTransform {
Capitalize,
FullSizeKana,
FullWidth,
Lowercase,
MathAuto,
None,
Uppercase,
Raw(Raw),
}Expand description
A value of text-transform.
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.
Capitalize
capitalize.
FullSizeKana
full-size-kana.
FullWidth
full-width.
Lowercase
lowercase.
MathAuto
math-auto.
None
none.
Uppercase
uppercase.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for TextTransform
impl Clone for TextTransform
Source§fn clone(&self) -> TextTransform
fn clone(&self) -> TextTransform
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TextTransform
impl Debug for TextTransform
Source§impl Display for TextTransform
impl Display for TextTransform
Source§impl From<Raw> for TextTransform
impl From<Raw> for TextTransform
Source§impl PartialEq for TextTransform
impl PartialEq for TextTransform
impl StructuralPartialEq for TextTransform
Auto Trait Implementations§
impl Freeze for TextTransform
impl RefUnwindSafe for TextTransform
impl Send for TextTransform
impl Sync for TextTransform
impl Unpin for TextTransform
impl UnsafeUnpin for TextTransform
impl UnwindSafe for TextTransform
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