enum Panel {
Open(Retained<NSOpenPanel>),
Save(Retained<NSSavePanel>),
}Expand description
The panel a dialog shows; open panels are save panels with more settings.
Variants§
Open(Retained<NSOpenPanel>)
Save(Retained<NSSavePanel>)
Implementations§
Source§impl Panel
impl Panel
fn new(mtm: MainThreadMarker, kind: DialogKind) -> Self
fn save_panel(&self) -> &NSSavePanel
Auto Trait Implementations§
impl !RefUnwindSafe for Panel
impl !Send for Panel
impl !Sync for Panel
impl !UnwindSafe for Panel
impl Freeze for Panel
impl Unpin for Panel
impl UnsafeUnpin for Panel
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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