pub struct ActionData { /* private fields */ }Expand description
The fields Dart’s Action declares; every action carries this bag under the field
action.
Implementations§
Source§impl ActionData
impl ActionData
Sourcepub fn new() -> ActionData
pub fn new() -> ActionData
The bag of a freshly created action.
Trait Implementations§
Source§impl Default for ActionData
impl Default for ActionData
Source§fn default() -> ActionData
fn default() -> ActionData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ActionData
impl !Send for ActionData
impl !Sync for ActionData
impl !UnwindSafe for ActionData
impl Forget for ActionData
impl Freeze for ActionData
impl Move for ActionData
impl Unpin for ActionData
impl UnsafeUnpin for ActionDatawhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Rc<dyn Fn(&mut App, AnyAction)>>: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
&'static ActionVTable: UnsafeUnpin,
*const RcInner<Keep> is !null: UnsafeUnpin,
PhantomData<RcInner<Keep>>: 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