#[repr(i64)]pub enum NSPopoverBehavior {
ApplicationDefined = 0,
Transient = 1,
Semitransient = 2,
}
Expand description
The appearance and disappearance behavior of a popover.
Variants§
ApplicationDefined = 0
Your application assumes responsibility for closing the popover.
Transient = 1
The system will close the popover when the user interacts with a user interface element outside the popover.
Semitransient = 2
The system will close the popover when the user interacts with user interface elements in the window containing the popover’s positioning view.
Trait Implementations§
Source§impl Clone for NSPopoverBehavior
impl Clone for NSPopoverBehavior
Source§fn clone(&self) -> NSPopoverBehavior
fn clone(&self) -> NSPopoverBehavior
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NSPopoverBehavior
impl Debug for NSPopoverBehavior
Source§impl PartialEq for NSPopoverBehavior
impl PartialEq for NSPopoverBehavior
impl Copy for NSPopoverBehavior
impl Eq for NSPopoverBehavior
impl StructuralPartialEq for NSPopoverBehavior
Auto Trait Implementations§
impl Freeze for NSPopoverBehavior
impl RefUnwindSafe for NSPopoverBehavior
impl Send for NSPopoverBehavior
impl Sync for NSPopoverBehavior
impl Unpin for NSPopoverBehavior
impl UnwindSafe for NSPopoverBehavior
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