pub struct TransitionIr {
pub property: TransitionPropertyIr,
pub duration_ms: u32,
pub easing: EasingIr,
}Expand description
IR-side parsed transition shorthand entry. From<&TransitionIr> for lumen_primitives::TransitionSpec converts to the runtime form at
spawn time.
Fields§
§property: TransitionPropertyIrProperty name as authored ("opacity" …). The spawn layer maps
to lumen_primitives::TransitionProperty.
duration_ms: u32Duration in milliseconds.
easing: EasingIrEasing curve as authored.
Trait Implementations§
Source§impl Clone for TransitionIr
impl Clone for TransitionIr
Source§fn clone(&self) -> TransitionIr
fn clone(&self) -> TransitionIr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TransitionIr
impl Debug for TransitionIr
Source§impl<'de> Deserialize<'de> for TransitionIr
impl<'de> Deserialize<'de> for TransitionIr
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 From<&TransitionIr> for TransitionSpec
impl From<&TransitionIr> for TransitionSpec
Source§fn from(ir: &TransitionIr) -> Self
fn from(ir: &TransitionIr) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TransitionIr
impl PartialEq for TransitionIr
Source§fn eq(&self, other: &TransitionIr) -> bool
fn eq(&self, other: &TransitionIr) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TransitionIr
impl Serialize for TransitionIr
impl Copy for TransitionIr
impl StructuralPartialEq for TransitionIr
Auto Trait Implementations§
impl Freeze for TransitionIr
impl RefUnwindSafe for TransitionIr
impl Send for TransitionIr
impl Sync for TransitionIr
impl Unpin for TransitionIr
impl UnsafeUnpin for TransitionIr
impl UnwindSafe for TransitionIr
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,
§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> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.