pub struct MotionScene {Show 21 fields
pub end: &'static Node,
pub duration: f64,
pub easing: MotionEasing,
pub path_arc: MotionPathArc,
pub child_path_arcs: &'static [(&'static str, MotionPathArc)],
pub stagger: f32,
pub auto_transition: MotionAutoTransition,
pub stagger_weights: &'static [Option<f32>],
pub on_click: &'static [MotionClick],
pub swipe: Option<MotionSwipe>,
pub property_tracks: &'static [MotionPropertyTrack],
pub custom_tracks: &'static [MotionCustomTrack],
pub visibility_modes: &'static [(&'static str, bool, bool)],
pub cycles: &'static [MotionCycleTrack],
pub time_cycles: &'static [MotionCycleTrack],
pub position_tracks: &'static [MotionPositionTrack],
pub key_triggers: &'static [MotionKeyTrigger],
pub pivot_targets: &'static [(&'static str, &'static str)],
pub path_rotations: &'static [(&'static str, f32, f32)],
pub quantizers: &'static [MotionQuantizer],
pub relative_targets: &'static [(&'static str, &'static str)],
}Expand description
A two-endpoint scene generated by the Android XML importer.
Fields§
§end: &'static Node§duration: f64§easing: MotionEasing§path_arc: MotionPathArc§child_path_arcs: &'static [(&'static str, MotionPathArc)]§stagger: f32§auto_transition: MotionAutoTransition§stagger_weights: &'static [Option<f32>]§on_click: &'static [MotionClick]§swipe: Option<MotionSwipe>§property_tracks: &'static [MotionPropertyTrack]§custom_tracks: &'static [MotionCustomTrack]§visibility_modes: &'static [(&'static str, bool, bool)]§cycles: &'static [MotionCycleTrack]§time_cycles: &'static [MotionCycleTrack]§position_tracks: &'static [MotionPositionTrack]§key_triggers: &'static [MotionKeyTrigger]§pivot_targets: &'static [(&'static str, &'static str)]§path_rotations: &'static [(&'static str, f32, f32)]§quantizers: &'static [MotionQuantizer]§relative_targets: &'static [(&'static str, &'static str)]Trait Implementations§
Source§impl Clone for MotionScene
impl Clone for MotionScene
impl Copy for MotionScene
Auto Trait Implementations§
impl Forget for MotionScene
impl Freeze for MotionScenewhere
&'static Node: Freeze,
&'static [f32]: Freeze,
&'static [(f32, f32)]: Freeze,
&'static [(&'static str, MotionPathArc)]: Freeze,
&'static [Option<f32>]: Freeze,
&'static [MotionClick]: Freeze,
&'static str: 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 MotionScene
impl RefUnwindSafe for MotionScene
impl Send for MotionScenewhere
&'static Node: Send,
&'static [f32]: Send,
&'static [(f32, f32)]: Send,
&'static [(&'static str, MotionPathArc)]: Send,
&'static [Option<f32>]: Send,
&'static [MotionClick]: Send,
&'static str: 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 MotionScene
impl Unpin for MotionScenewhere
&'static Node: Unpin,
&'static [f32]: Unpin,
&'static [(f32, f32)]: Unpin,
&'static [(&'static str, MotionPathArc)]: Unpin,
&'static [Option<f32>]: Unpin,
&'static [MotionClick]: Unpin,
&'static str: 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 MotionScenewhere
&'static Node: UnsafeUnpin,
&'static [f32]: UnsafeUnpin,
&'static [(f32, f32)]: UnsafeUnpin,
&'static [(&'static str, MotionPathArc)]: UnsafeUnpin,
&'static [Option<f32>]: UnsafeUnpin,
&'static [MotionClick]: UnsafeUnpin,
&'static str: 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 MotionScenewhere
&'static Node: UnwindSafe,
&'static [f32]: UnwindSafe,
&'static [(f32, f32)]: UnwindSafe,
&'static [(&'static str, MotionPathArc)]: UnwindSafe,
&'static [Option<f32>]: UnwindSafe,
&'static [MotionClick]: UnwindSafe,
&'static str: 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> 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