pub enum Opacity {
Show 15 variants
Zero,
Five,
Ten,
Twenty,
TwentyFive,
Thirty,
Forty,
Fifty,
Sixty,
Seventy,
SeventyFive,
Eighty,
Ninety,
NinetyFive,
Hundred,
}
Expand description
Opacity values
Variants§
Zero
0% opacity
Five
5% opacity
Ten
10% opacity
Twenty
20% opacity
TwentyFive
25% opacity
Thirty
30% opacity
Forty
40% opacity
Fifty
50% opacity
Sixty
60% opacity
Seventy
70% opacity
SeventyFive
75% opacity
Eighty
80% opacity
Ninety
90% opacity
NinetyFive
95% opacity
Hundred
100% opacity
Implementations§
Source§impl Opacity
impl Opacity
pub fn to_class_name(&self) -> String
pub fn to_css_value(&self) -> String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Opacity
impl<'de> Deserialize<'de> for Opacity
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 Opacity
impl Eq for Opacity
impl StructuralPartialEq for Opacity
Auto Trait Implementations§
impl Freeze for Opacity
impl RefUnwindSafe for Opacity
impl Send for Opacity
impl Sync for Opacity
impl Unpin for Opacity
impl UnwindSafe for Opacity
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.