pub struct FerroNativeMenuExporter { /* private fields */ }Expand description
Exports a NativeMenu to one target and keeps the native menu in sync.
Trait Implementations§
Source§impl Drop for FerroNativeMenuExporter
impl Drop for FerroNativeMenuExporter
Source§impl INativeMenuExporter for FerroNativeMenuExporter
impl INativeMenuExporter for FerroNativeMenuExporter
Sets the menu to export;
None removes the exported menu.Source§impl ITopLevelNativeMenuExporter for FerroNativeMenuExporter
impl ITopLevelNativeMenuExporter for FerroNativeMenuExporter
Never raised, as in the reference implementation.
Whether the menu is exported to the platform.
Auto Trait Implementations§
impl !Freeze for FerroNativeMenuExporter
impl !RefUnwindSafe for FerroNativeMenuExporter
impl !Send for FerroNativeMenuExporter
impl !Sync for FerroNativeMenuExporter
impl !UnwindSafe for FerroNativeMenuExporter
impl Unpin for FerroNativeMenuExporter
impl UnsafeUnpin for FerroNativeMenuExporter
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more