pub struct ViewportProximityExit {
pub previous: ViewportProximitySnapshot,
pub current: ViewportProximitySnapshot,
}Expand description
Departure from global viewport proximity, after the terminal change event. Unmount cancels observation without synthesizing a geometric exit.
Fields§
§previous: ViewportProximitySnapshotLast sample inside proximity.
current: ViewportProximitySnapshotTerminal outside sample shared with the final change notification.
Trait Implementations§
Source§impl Clone for ViewportProximityExit
impl Clone for ViewportProximityExit
Auto Trait Implementations§
impl Freeze for ViewportProximityExit
impl RefUnwindSafe for ViewportProximityExit
impl Send for ViewportProximityExit
impl Sync for ViewportProximityExit
impl Unpin for ViewportProximityExit
impl UnsafeUnpin for ViewportProximityExit
impl UnwindSafe for ViewportProximityExit
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§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.