pub struct AnyMenuController { /* private fields */ }Expand description
Erased MenuControllerLeaf: what a field or parameter Dart types as MenuController
becomes.
Equality is Dart’s == on an object reference.
Implementations§
Source§impl AnyMenuController
impl AnyMenuController
Sourcepub fn upgrade(self, app: &App) -> Option<Retained<AnyMenuController>>
pub fn upgrade(self, app: &App) -> Option<Retained<AnyMenuController>>
A reference while something still keeps the object, None once it is freed or
its last keeper has let go; see Handle::upgrade.
Sourcepub fn keep(self, app: &App) -> Retained<AnyMenuController>
pub fn keep(self, app: &App) -> Retained<AnyMenuController>
A reference to an object something is known to keep; see
Handle::keep.
Trait Implementations§
Source§impl Clone for AnyMenuController
impl Clone for AnyMenuController
impl Copy for AnyMenuController
Source§impl Debug for AnyMenuController
impl Debug for AnyMenuController
impl Eq for AnyMenuController
Source§impl From<AnyMenuController> for HandleId
impl From<AnyMenuController> for HandleId
Source§fn from(handle: AnyMenuController) -> HandleId
fn from(handle: AnyMenuController) -> HandleId
Converts to this type from the input type.
Source§impl<Leaf: MenuControllerLeaf> From<Handle<Leaf>> for AnyMenuController
impl<Leaf: MenuControllerLeaf> From<Handle<Leaf>> for AnyMenuController
Source§fn from(handle: Handle<Leaf>) -> AnyMenuController
fn from(handle: Handle<Leaf>) -> AnyMenuController
Converts to this type from the input type.
Source§impl Hash for AnyMenuController
impl Hash for AnyMenuController
Source§impl PartialEq for AnyMenuController
impl PartialEq for AnyMenuController
Source§impl PartialEq<AnyMenuController> for &Retained<AnyMenuController>
impl PartialEq<AnyMenuController> for &Retained<AnyMenuController>
Auto Trait Implementations§
impl Forget for AnyMenuController
impl Freeze for AnyMenuController
impl Move for AnyMenuController
impl RefUnwindSafe for AnyMenuController
impl Send for AnyMenuController
impl Sync for AnyMenuController
impl Unpin for AnyMenuController
impl UnsafeUnpin for AnyMenuControllerwhere
NonZeroU32Inner: UnsafeUnpin,
&'static MenuControllerVTable: UnsafeUnpin,
impl UnwindSafe for AnyMenuController
Blanket Implementations§
Source§impl<T> AnyEq for T
impl<T> AnyEq for T
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.