NativeMenuItemBase
struct · ferroui-controls · v0.5.0
struct NativeMenuItemBase
The base class of the items of a NativeMenu.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<NativeMenuItemBase>
Returns a strong reference to this object.
parent_property
fn parent_property() -> &'static DirectProperty<NativeMenuItemBase, Option<Ref<NativeMenu>>>
Defines the Parent property.
parent
fn parent(self: &Self) -> Option<Ref<NativeMenu>>
The menu that holds the item.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<NativeMenuItemBase>StaticTypeObjectTypeSubclassable<T>FerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.