pub struct DialogAction { /* private fields */ }Expand description
Activation for a dialog slot, valid while that open dialog owns input.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DialogAction
impl !Send for DialogAction
impl !Sync for DialogAction
impl !UnwindSafe for DialogAction
impl Forget for DialogAction
impl Freeze for DialogActionwhere
NonZero<u32>: Freeze,
*const (): Freeze,
*const ArcInner<RwLock<RawRwLock, EntityRefCounts>> is !null: Freeze,
PhantomData<fn(DialogState) -> DialogState>: Freeze,
*const RcInner<dyn Fn(DialogCloseReason, &mut Window, &mut App) -> bool> is !null: Freeze,
PhantomData<RcInner<dyn Fn(DialogCloseReason, &mut Window, &mut App) -> bool>>: Freeze,
*const RcInner<dyn Fn(DialogCloseReason, &mut Window, &mut App)> is !null: Freeze,
PhantomData<RcInner<dyn Fn(DialogCloseReason, &mut Window, &mut App)>>: Freeze,
*const RcInner<dyn Fn(&mut Window, &mut App) -> bool> is !null: Freeze,
PhantomData<RcInner<dyn Fn(&mut Window, &mut App) -> bool>>: Freeze,
impl Move for DialogAction
impl Unpin for DialogAction
impl UnsafeUnpin for DialogActionwhere
NonZeroU32Inner: UnsafeUnpin,
*const (): UnsafeUnpin,
*const ArcInner<RwLock<RawRwLock, EntityRefCounts>> is !null: UnsafeUnpin,
PhantomData<fn(DialogState) -> DialogState>: UnsafeUnpin,
*const RcInner<dyn Fn(DialogCloseReason, &mut Window, &mut App) -> bool> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn(DialogCloseReason, &mut Window, &mut App) -> bool>>: UnsafeUnpin,
*const RcInner<dyn Fn(DialogCloseReason, &mut Window, &mut App)> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn(DialogCloseReason, &mut Window, &mut App)>>: UnsafeUnpin,
*const RcInner<dyn Fn(&mut Window, &mut App) -> bool> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn(&mut Window, &mut App) -> bool>>: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more