Skip to main content

MotionTransition

Struct MotionTransition 

Source
pub struct MotionTransition {
    pub id: &'static str,
    pub start_state: &'static str,
    pub end_state: &'static str,
    pub disabled: bool,
    pub start_variants: &'static [MotionStateVariant],
    pub end_variants: &'static [MotionStateVariant],
    pub responsive_pairs: &'static [MotionResponsivePair],
    pub disable_intra_auto: bool,
    pub start: &'static Node,
    pub scene: MotionScene,
}
Expand description

One named edge between two inline constraint sets.

Fields§

§id: &'static str§start_state: &'static str§end_state: &'static str§disabled: bool§start_variants: &'static [MotionStateVariant]§end_variants: &'static [MotionStateVariant]§responsive_pairs: &'static [MotionResponsivePair]§disable_intra_auto: bool§start: &'static Node§scene: MotionScene

Trait Implementations§

Source§

impl Clone for MotionTransition

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for MotionTransition

Auto Trait Implementations§

§

impl Forget for MotionTransition

§

impl Freeze for MotionTransition
where &'static str: Freeze, &'static [MotionStateVariant]: Freeze, &'static [MotionResponsivePair]: Freeze, &'static Node: Freeze, &'static [f32]: Freeze, &'static [(f32, f32)]: Freeze, &'static [(&'static str, MotionPathArc)]: Freeze, &'static [Option<f32>]: Freeze, &'static [MotionClick]: Freeze, &'static [MotionPropertyTrack]: Freeze, &'static [MotionCustomTrack]: Freeze, &'static [(&'static str, bool, bool)]: Freeze, &'static [MotionCycleTrack]: Freeze, &'static [MotionPositionTrack]: Freeze, &'static [MotionKeyTrigger]: Freeze, &'static [(&'static str, &'static str)]: Freeze, &'static [(&'static str, f32, f32)]: Freeze, &'static [MotionQuantizer]: Freeze,

§

impl Move for MotionTransition

§

impl RefUnwindSafe for MotionTransition

§

impl Send for MotionTransition
where &'static str: Send, &'static [MotionStateVariant]: Send, &'static [MotionResponsivePair]: Send, &'static Node: Send, &'static [f32]: Send, &'static [(f32, f32)]: Send, &'static [(&'static str, MotionPathArc)]: Send, &'static [Option<f32>]: Send, &'static [MotionClick]: Send, &'static [MotionPropertyTrack]: Send, &'static [MotionCustomTrack]: Send, &'static [(&'static str, bool, bool)]: Send, &'static [MotionCycleTrack]: Send, &'static [MotionPositionTrack]: Send, &'static [MotionKeyTrigger]: Send, &'static [(&'static str, &'static str)]: Send, &'static [(&'static str, f32, f32)]: Send, &'static [MotionQuantizer]: Send,

§

impl Sync for MotionTransition

§

impl Unpin for MotionTransition
where &'static str: Unpin, &'static [MotionStateVariant]: Unpin, &'static [MotionResponsivePair]: Unpin, &'static Node: Unpin, &'static [f32]: Unpin, &'static [(f32, f32)]: Unpin, &'static [(&'static str, MotionPathArc)]: Unpin, &'static [Option<f32>]: Unpin, &'static [MotionClick]: Unpin, &'static [MotionPropertyTrack]: Unpin, &'static [MotionCustomTrack]: Unpin, &'static [(&'static str, bool, bool)]: Unpin, &'static [MotionCycleTrack]: Unpin, &'static [MotionPositionTrack]: Unpin, &'static [MotionKeyTrigger]: Unpin, &'static [(&'static str, &'static str)]: Unpin, &'static [(&'static str, f32, f32)]: Unpin, &'static [MotionQuantizer]: Unpin,

§

impl UnsafeUnpin for MotionTransition
where &'static str: UnsafeUnpin, &'static [MotionStateVariant]: UnsafeUnpin, &'static [MotionResponsivePair]: UnsafeUnpin, &'static Node: UnsafeUnpin, &'static [f32]: UnsafeUnpin, &'static [(f32, f32)]: UnsafeUnpin, &'static [(&'static str, MotionPathArc)]: UnsafeUnpin, &'static [Option<f32>]: UnsafeUnpin, &'static [MotionClick]: UnsafeUnpin, &'static [MotionPropertyTrack]: UnsafeUnpin, &'static [MotionCustomTrack]: UnsafeUnpin, &'static [(&'static str, bool, bool)]: UnsafeUnpin, &'static [MotionCycleTrack]: UnsafeUnpin, &'static [MotionPositionTrack]: UnsafeUnpin, &'static [MotionKeyTrigger]: UnsafeUnpin, &'static [(&'static str, &'static str)]: UnsafeUnpin, &'static [(&'static str, f32, f32)]: UnsafeUnpin, &'static [MotionQuantizer]: UnsafeUnpin,

§

impl UnwindSafe for MotionTransition
where &'static str: UnwindSafe, &'static [MotionStateVariant]: UnwindSafe, &'static [MotionResponsivePair]: UnwindSafe, &'static Node: UnwindSafe, &'static [f32]: UnwindSafe, &'static [(f32, f32)]: UnwindSafe, &'static [(&'static str, MotionPathArc)]: UnwindSafe, &'static [Option<f32>]: UnwindSafe, &'static [MotionClick]: UnwindSafe, &'static [MotionPropertyTrack]: UnwindSafe, &'static [MotionCustomTrack]: UnwindSafe, &'static [(&'static str, bool, bool)]: UnwindSafe, &'static [MotionCycleTrack]: UnwindSafe, &'static [MotionPositionTrack]: UnwindSafe, &'static [MotionKeyTrigger]: UnwindSafe, &'static [(&'static str, &'static str)]: UnwindSafe, &'static [(&'static str, f32, f32)]: UnwindSafe, &'static [MotionQuantizer]: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.