pub enum TextTransform {
None,
Uppercase,
Lowercase,
Capitalize,
}Expand description
The text-transform keyword.
Variants§
None
none — no transformation. Default.
Uppercase
uppercase — convert to uppercase.
Lowercase
lowercase — convert to lowercase.
Capitalize
capitalize — capitalize the first letter of each word.
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 moreimpl Copy for TextTransform
Source§impl Debug for TextTransform
impl Debug for TextTransform
impl Eq for TextTransform
Source§impl Hash for TextTransform
impl Hash for TextTransform
Source§impl PartialEq for TextTransform
impl PartialEq for TextTransform
Source§fn eq(&self, other: &TextTransform) -> bool
fn eq(&self, other: &TextTransform) -> bool
Tests for
self and other values to be equal, and is used by ==.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