#[repr(u32)]pub enum OcclusionChangeReason {
UserAction = 1,
}
Expand description
occlusion change reason
Enum describing why an occlusion change happened. An occlusion change as a result of a user action could include things like the user moving a window, changing occlusion, or opening/closing a window, changing the occlusion.
Variants§
UserAction = 1
occlusion changed as a result of a user action,
Implementations§
Trait Implementations§
Source§impl Clone for OcclusionChangeReason
impl Clone for OcclusionChangeReason
Source§fn clone(&self) -> OcclusionChangeReason
fn clone(&self) -> OcclusionChangeReason
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OcclusionChangeReason
impl Debug for OcclusionChangeReason
Source§impl Into<Arg> for OcclusionChangeReason
impl Into<Arg> for OcclusionChangeReason
Source§impl PartialEq for OcclusionChangeReason
impl PartialEq for OcclusionChangeReason
impl Copy for OcclusionChangeReason
impl Eq for OcclusionChangeReason
impl StructuralPartialEq for OcclusionChangeReason
Auto Trait Implementations§
impl Freeze for OcclusionChangeReason
impl RefUnwindSafe for OcclusionChangeReason
impl Send for OcclusionChangeReason
impl Sync for OcclusionChangeReason
impl Unpin for OcclusionChangeReason
impl UnwindSafe for OcclusionChangeReason
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)