[][src]Struct savory_html::css::transition::TransitionValue

pub struct TransitionValue {
    pub duration: Duration,
    pub timing_function: Option<TimingFunction>,
    pub delay: Option<Delay>,
}

Fields

duration: Durationtiming_function: Option<TimingFunction>delay: Option<Delay>

Implementations

impl TransitionValue[src]

pub fn duration(self, value: impl Into<Duration>) -> Self[src]

pub fn timing_function(self, value: impl Into<TimingFunction>) -> Self[src]

pub fn try_timing_function(
    self,
    value: Option<impl Into<TimingFunction>>
) -> Self
[src]

pub fn ease(self) -> Self[src]

pub fn linear(self) -> Self[src]

pub fn ease_in(self) -> Self[src]

pub fn ease_out(self) -> Self[src]

pub fn ease_in_out(self) -> Self[src]

pub fn step_start(self) -> Self[src]

pub fn step_end(self) -> Self[src]

pub fn delay(self, value: impl Into<Delay>) -> Self[src]

pub fn try_delay(self, value: Option<impl Into<Delay>>) -> Self[src]

impl TransitionValue[src]

pub fn new(duration: impl Into<Duration>) -> Self[src]

pub fn steps(self, intervals: usize, pos: impl Into<StepsPos>) -> Self[src]

pub fn cubic_bezier(self, n1: f32, n2: f32, n3: f32, n4: f32) -> Self[src]

Trait Implementations

impl Clone for TransitionValue[src]

impl Debug for TransitionValue[src]

impl Default for TransitionValue[src]

impl From<(Duration, Option<TimingFunction>, Option<Duration>)> for TransitionValue[src]

impl From<TransitionValue> for Transition[src]

impl PartialEq<TransitionValue> for TransitionValue[src]

impl StructuralPartialEq for TransitionValue[src]

Auto Trait Implementations

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,