pub enum Translate {
Show 30 variants
Zero,
One,
Two,
Three,
Four,
Five,
Six,
Seven,
Eight,
Nine,
Ten,
Eleven,
Twelve,
Fourteen,
Sixteen,
Twenty,
TwentyFour,
TwentyEight,
ThirtyTwo,
ThirtySix,
Forty,
FortyFour,
FortyEight,
FiftyTwo,
FiftySix,
Sixty,
SixtyFour,
SeventyTwo,
Eighty,
NinetySix,
}
Expand description
Translate values
Variants§
Zero
0px translate
One
1px translate
Two
2px translate
Three
3px translate
Four
4px translate
Five
5px translate
Six
6px translate
Seven
7px translate
Eight
8px translate
Nine
9px translate
Ten
10px translate
Eleven
11px translate
Twelve
12px translate
Fourteen
14px translate
Sixteen
16px translate
Twenty
20px translate
TwentyFour
24px translate
TwentyEight
28px translate
ThirtyTwo
32px translate
ThirtySix
36px translate
Forty
40px translate
FortyFour
44px translate
FortyEight
48px translate
FiftyTwo
52px translate
FiftySix
56px translate
Sixty
60px translate
SixtyFour
64px translate
SeventyTwo
72px translate
Eighty
80px translate
NinetySix
96px translate
Implementations§
Source§impl Translate
impl Translate
pub fn to_class_name(&self) -> String
pub fn to_css_value(&self) -> String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Translate
impl<'de> Deserialize<'de> for Translate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Translate
impl Eq for Translate
impl StructuralPartialEq for Translate
Auto Trait Implementations§
impl Freeze for Translate
impl RefUnwindSafe for Translate
impl Send for Translate
impl Sync for Translate
impl Unpin for Translate
impl UnwindSafe for Translate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.