Struct css_style::transition::TransitionValue [−][src]
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]
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]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for TransitionValue[src]
impl Default for TransitionValue[src]
impl Display 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
T: Component + Float,
D: AdaptFrom<S, Swp, Dwp, T>,
Swp: WhitePoint,
Dwp: WhitePoint, [src]
T: Component + Float,
D: AdaptFrom<S, Swp, Dwp, T>,
Swp: WhitePoint,
Dwp: WhitePoint,
pub fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>, [src]
M: TransformMatrix<Swp, Dwp, T>,
pub 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,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> ConvertInto<U> for T where
U: ConvertFrom<T>, [src]
U: ConvertFrom<T>,
pub fn convert_into(self) -> U[src]
pub fn convert_unclamped_into(self) -> U[src]
pub fn try_convert_into(self) -> Result<U, OutOfBounds<U>>[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> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
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.
pub 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>,