pub enum Event {
OcclusionChanged {
occlusion_fraction: Fixed,
occlusion_reason: u32,
},
}
Variants§
OcclusionChanged
Notifies on an occlusion change
Notifies when there is a change in the amount this surface is occluded. The occlusion update is sent as a fixed point number from 0 to 1, representing the proportion of occlusion.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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