pub struct TransitionRouteData {
pub will_dispose_animation_controller: bool,
/* private fields */
}Expand description
The fields Dart’s TransitionRoute declares; every transition route carries this bag under
the field transition_route.
Fields§
§will_dispose_animation_controller: boolWhether to takeover the controller created by
create_animation_controller.
If true, this route will call AnimationController::dispose when the controller is no
longer needed. If false, the controller should be disposed by whoever owned it.
It defaults to true.
Implementations§
Source§impl TransitionRouteData
impl TransitionRouteData
Sourcepub fn new(app: &mut App) -> TransitionRouteData
pub fn new(app: &mut App) -> TransitionRouteData
The bag of a freshly created transition route.
Auto Trait Implementations§
impl !RefUnwindSafe for TransitionRouteData
impl !Send for TransitionRouteData
impl !Sync for TransitionRouteData
impl !UnwindSafe for TransitionRouteData
impl Forget for TransitionRouteData
impl Freeze for TransitionRouteDatawhere
*const RcInner<Shared<Option<Rc<dyn Any>>>> is !null: Freeze,
PhantomData<RcInner<Shared<Option<Rc<dyn Any>>>>>: Freeze,
NonZero<u32>: Freeze,
&'static AnimationVTable<f64>: Freeze,
*const RcInner<Keep> is !null: Freeze,
PhantomData<RcInner<Keep>>: Freeze,
PhantomData<fn() -> AnimationController>: Freeze,
PhantomData<fn() -> ProxyAnimation>: Freeze,
*const RcInner<dyn Any> is !null: Freeze,
PhantomData<RcInner<dyn Any>>: Freeze,
*const RcInner<dyn Fn(&mut App)> is !null: Freeze,
PhantomData<RcInner<dyn Fn(&mut App)>>: Freeze,
impl Move for TransitionRouteData
impl Unpin for TransitionRouteData
impl UnsafeUnpin for TransitionRouteDatawhere
*const RcInner<Shared<Option<Rc<dyn Any>>>> is !null: UnsafeUnpin,
PhantomData<RcInner<Shared<Option<Rc<dyn Any>>>>>: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
&'static AnimationVTable<f64>: UnsafeUnpin,
*const RcInner<Keep> is !null: UnsafeUnpin,
PhantomData<RcInner<Keep>>: UnsafeUnpin,
PhantomData<fn() -> AnimationController>: UnsafeUnpin,
PhantomData<fn() -> ProxyAnimation>: UnsafeUnpin,
*const RcInner<dyn Any> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Any>>: UnsafeUnpin,
*const RcInner<dyn Fn(&mut App)> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn(&mut App)>>: UnsafeUnpin,
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