pub enum MenuBarPolicy {
GuestControlled,
InitialKiosk,
ForceHidden,
}Expand description
Host presentation policy for the classic Mac menu bar.
Variants§
GuestControlled
Follow the guest’s MBarHeight and fullscreen state.
InitialKiosk
Begin with kiosk presentation, then return control to the guest after
an explicit DrawMenuBar request or a real hide-and-reveal transition.
ForceHidden
Keep the guest menu bar suppressed regardless of guest state.
Trait Implementations§
Source§impl Clone for MenuBarPolicy
impl Clone for MenuBarPolicy
Source§fn clone(&self) -> MenuBarPolicy
fn clone(&self) -> MenuBarPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MenuBarPolicy
Source§impl Debug for MenuBarPolicy
impl Debug for MenuBarPolicy
Source§impl Default for MenuBarPolicy
impl Default for MenuBarPolicy
Source§fn default() -> MenuBarPolicy
fn default() -> MenuBarPolicy
Returns the “default value” for a type. Read more
impl Eq for MenuBarPolicy
Source§impl PartialEq for MenuBarPolicy
impl PartialEq for MenuBarPolicy
impl StructuralPartialEq for MenuBarPolicy
Auto Trait Implementations§
impl Freeze for MenuBarPolicy
impl RefUnwindSafe for MenuBarPolicy
impl Send for MenuBarPolicy
impl Sync for MenuBarPolicy
impl Unpin for MenuBarPolicy
impl UnsafeUnpin for MenuBarPolicy
impl UnwindSafe for MenuBarPolicy
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.