pub enum TransitionProperty {
All,
None,
Default,
Colors,
Opacity,
Shadow,
Transform,
}
Expand description
Transition property values
Variants§
All
All properties
None
No properties
Default
Default properties
Colors
Colors only
Opacity
Opacity only
Shadow
Shadow only
Transform
Transform only
Implementations§
Source§impl TransitionProperty
impl TransitionProperty
pub fn to_class_name(&self) -> String
pub fn to_css_value(&self) -> String
Trait Implementations§
Source§impl Clone for TransitionProperty
impl Clone for TransitionProperty
Source§fn clone(&self) -> TransitionProperty
fn clone(&self) -> TransitionProperty
Returns a duplicate 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 TransitionProperty
impl Debug for TransitionProperty
Source§impl<'de> Deserialize<'de> for TransitionProperty
impl<'de> Deserialize<'de> for TransitionProperty
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
Source§impl Display for TransitionProperty
impl Display for TransitionProperty
Source§impl Hash for TransitionProperty
impl Hash for TransitionProperty
Source§impl PartialEq for TransitionProperty
impl PartialEq for TransitionProperty
Source§impl Serialize for TransitionProperty
impl Serialize for TransitionProperty
impl Copy for TransitionProperty
impl Eq for TransitionProperty
impl StructuralPartialEq for TransitionProperty
Auto Trait Implementations§
impl Freeze for TransitionProperty
impl RefUnwindSafe for TransitionProperty
impl Send for TransitionProperty
impl Sync for TransitionProperty
impl Unpin for TransitionProperty
impl UnwindSafe for TransitionProperty
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.