#[non_exhaustive]pub enum OpenWindowPolicy {
RequireClosed,
ClipToHorizon,
}Expand description
Open-window normalization policy.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RequireClosed
Open windows are rejected.
ClipToHorizon
Open windows are clipped to the configured horizon.
Trait Implementations§
Source§impl Clone for OpenWindowPolicy
impl Clone for OpenWindowPolicy
impl Copy for OpenWindowPolicy
Source§impl Debug for OpenWindowPolicy
impl Debug for OpenWindowPolicy
impl Eq for OpenWindowPolicy
Source§impl PartialEq for OpenWindowPolicy
impl PartialEq for OpenWindowPolicy
impl StructuralPartialEq for OpenWindowPolicy
Auto Trait Implementations§
impl Freeze for OpenWindowPolicy
impl RefUnwindSafe for OpenWindowPolicy
impl Send for OpenWindowPolicy
impl Sync for OpenWindowPolicy
impl Unpin for OpenWindowPolicy
impl UnsafeUnpin for OpenWindowPolicy
impl UnwindSafe for OpenWindowPolicy
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