Enum freya_hooks::Transition 
source · pub enum Transition {
    Size(f64, f64),
    Color(Color, Color),
}Expand description
Configure a Transition animation.
Variants§
Size(f64, f64)
Transition from one size to another.
Color(Color, Color)
Transition from one color to another.
Implementations§
Trait Implementations§
source§impl Clone for Transition
 
impl Clone for Transition
source§fn clone(&self) -> Transition
 
fn clone(&self) -> Transition
Returns a copy 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 Transition
 
impl Debug for Transition
source§impl From<&Transition> for TransitionState
 
impl From<&Transition> for TransitionState
source§fn from(value: &Transition) -> Self
 
fn from(value: &Transition) -> Self
Converts to this type from the input type.
source§impl PartialEq for Transition
 
impl PartialEq for Transition
source§fn eq(&self, other: &Transition) -> bool
 
fn eq(&self, other: &Transition) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for Transition
impl StructuralPartialEq for Transition
Auto Trait Implementations§
impl RefUnwindSafe for Transition
impl Send for Transition
impl Sync for Transition
impl Unpin for Transition
impl UnwindSafe for Transition
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
§impl<T> Instrument for T
 
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
 
impl<T> Pointable for T
§impl<T, O> SuperFrom<T> for Owhere
    O: From<T>,
 
impl<T, O> SuperFrom<T> for Owhere O: From<T>,
§fn super_from(input: T) -> O
 
fn super_from(input: T) -> O
Convert from a type to another type.
§impl<T, O, M> SuperInto<O, M> for Twhere
    O: SuperFrom<T, M>,
 
impl<T, O, M> SuperInto<O, M> for Twhere O: SuperFrom<T, M>,
§fn super_into(self) -> O
 
fn super_into(self) -> O
Convert from a type to another type.