#[non_exhaustive]pub enum IncompatibilityReason {
DstRectOffScreen,
}Expand description
Why a layer does not fit its new output.
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.
DstRectOffScreen
The destination rectangle falls outside the new mode.
Reported rather than clamped. A layer at the old mode’s bottom-right is not wrong, it is somewhere the caller now has to decide about, and silently moving it would put a window somewhere the caller never asked for and cannot detect.
Trait Implementations§
Source§impl Clone for IncompatibilityReason
impl Clone for IncompatibilityReason
impl Copy for IncompatibilityReason
Source§impl Debug for IncompatibilityReason
impl Debug for IncompatibilityReason
impl Eq for IncompatibilityReason
Source§impl PartialEq for IncompatibilityReason
impl PartialEq for IncompatibilityReason
impl StructuralPartialEq for IncompatibilityReason
Auto Trait Implementations§
impl Freeze for IncompatibilityReason
impl RefUnwindSafe for IncompatibilityReason
impl Send for IncompatibilityReason
impl Sync for IncompatibilityReason
impl Unpin for IncompatibilityReason
impl UnsafeUnpin for IncompatibilityReason
impl UnwindSafe for IncompatibilityReason
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