[−][src]Struct savory_html::css::transition::TransitionValue
Fields
duration: Duration
timing_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]
self,
value: Option<impl Into<TimingFunction>>
) -> Self
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]
fn clone(&self) -> TransitionValue
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TransitionValue
[src]
impl Default for TransitionValue
[src]
impl From<(Duration, Option<TimingFunction>, Option<Duration>)> for TransitionValue
[src]
fn from(
original: (Duration, Option<TimingFunction>, Option<Delay>)
) -> TransitionValue
[src]
original: (Duration, Option<TimingFunction>, Option<Delay>)
) -> TransitionValue
impl From<TransitionValue> for Transition
[src]
fn from(original: TransitionValue) -> Transition
[src]
impl PartialEq<TransitionValue> for TransitionValue
[src]
fn eq(&self, other: &TransitionValue) -> bool
[src]
fn ne(&self, other: &TransitionValue) -> bool
[src]
impl StructuralPartialEq for TransitionValue
[src]
Auto Trait Implementations
impl RefUnwindSafe for TransitionValue
impl Send for TransitionValue
impl Sync for TransitionValue
impl Unpin for TransitionValue
impl UnwindSafe for TransitionValue
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]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into(self) -> D
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,