pub struct MotionViewTransition {Show 26 fields
pub if_tag_set: Option<&'static str>,
pub if_tag_not_set: Option<&'static str>,
pub sets_tag: Option<&'static str>,
pub clears_tag: Option<&'static str>,
pub shared_value: Option<(&'static str, i32, bool)>,
pub id: &'static str,
pub targets: &'static [&'static str],
pub target: &'static str,
pub easing: MotionEasing,
pub duration: f64,
pub up_duration: Option<f64>,
pub touch: Option<MotionViewTouch>,
pub independent: bool,
pub position_tracks: &'static [MotionPositionTrack],
pub time_cycles: &'static [MotionCycleTrack],
pub cycles: &'static [MotionCycleTrack],
pub custom_tracks: &'static [MotionCustomTrack],
pub keys: &'static [MotionPropertyTrack],
pub all_states: bool,
pub disabled: bool,
pub path_arc: MotionPathArc,
pub margins: [Option<f32>; 6],
pub width: Option<Size>,
pub height: Option<Size>,
pub alpha: Option<f32>,
pub visibility: Option<Visibility>,
}Expand description
A ViewTransition that applies a field delta to the current constraint set.
Fields§
§if_tag_set: Option<&'static str>§if_tag_not_set: Option<&'static str>§sets_tag: Option<&'static str>§clears_tag: Option<&'static str>Key, comparison value, and whether equality triggers the transition.
id: &'static str§targets: &'static [&'static str]§target: &'static str§easing: MotionEasing§duration: f64§up_duration: Option<f64>§touch: Option<MotionViewTouch>§independent: bool§position_tracks: &'static [MotionPositionTrack]§time_cycles: &'static [MotionCycleTrack]§cycles: &'static [MotionCycleTrack]§custom_tracks: &'static [MotionCustomTrack]§keys: &'static [MotionPropertyTrack]§all_states: bool§disabled: bool§path_arc: MotionPathArc§margins: [Option<f32>; 6]§width: Option<Size>§height: Option<Size>§alpha: Option<f32>§visibility: Option<Visibility>Trait Implementations§
Source§impl Clone for MotionViewTransition
impl Clone for MotionViewTransition
impl Copy for MotionViewTransition
Auto Trait Implementations§
impl Forget for MotionViewTransition
impl Freeze for MotionViewTransitionwhere
&'static str: Freeze,
&'static [&'static str]: Freeze,
&'static [f32]: Freeze,
&'static [(f32, f32)]: Freeze,
&'static [MotionPositionTrack]: Freeze,
&'static [MotionCycleTrack]: Freeze,
&'static [MotionCustomTrack]: Freeze,
&'static [MotionPropertyTrack]: Freeze,
impl Move for MotionViewTransition
impl RefUnwindSafe for MotionViewTransition
impl Send for MotionViewTransitionwhere
&'static str: Send,
&'static [&'static str]: Send,
&'static [f32]: Send,
&'static [(f32, f32)]: Send,
&'static [MotionPositionTrack]: Send,
&'static [MotionCycleTrack]: Send,
&'static [MotionCustomTrack]: Send,
&'static [MotionPropertyTrack]: Send,
impl Sync for MotionViewTransition
impl Unpin for MotionViewTransitionwhere
&'static str: Unpin,
&'static [&'static str]: Unpin,
&'static [f32]: Unpin,
&'static [(f32, f32)]: Unpin,
&'static [MotionPositionTrack]: Unpin,
&'static [MotionCycleTrack]: Unpin,
&'static [MotionCustomTrack]: Unpin,
&'static [MotionPropertyTrack]: Unpin,
impl UnsafeUnpin for MotionViewTransitionwhere
&'static str: UnsafeUnpin,
&'static [&'static str]: UnsafeUnpin,
&'static [f32]: UnsafeUnpin,
&'static [(f32, f32)]: UnsafeUnpin,
&'static [MotionPositionTrack]: UnsafeUnpin,
&'static [MotionCycleTrack]: UnsafeUnpin,
&'static [MotionCustomTrack]: UnsafeUnpin,
&'static [MotionPropertyTrack]: UnsafeUnpin,
impl UnwindSafe for MotionViewTransitionwhere
&'static str: UnwindSafe,
&'static [&'static str]: UnwindSafe,
&'static [f32]: UnwindSafe,
&'static [(f32, f32)]: UnwindSafe,
&'static [MotionPositionTrack]: UnwindSafe,
&'static [MotionCycleTrack]: UnwindSafe,
&'static [MotionCustomTrack]: UnwindSafe,
&'static [MotionPropertyTrack]: 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