pub enum ViewportPointLocation {
Inside,
Boundary,
Outside,
}Expand description
A point’s location relative only to a logical viewport rectangle.
Variants§
Inside
Strictly inside by more than the supplied tolerance.
Boundary
On or within tolerance of a viewport side.
Outside
Materially outside at least one viewport side.
Trait Implementations§
Source§impl Clone for ViewportPointLocation
impl Clone for ViewportPointLocation
impl Copy for ViewportPointLocation
Source§impl Debug for ViewportPointLocation
impl Debug for ViewportPointLocation
impl Eq for ViewportPointLocation
Source§impl Hash for ViewportPointLocation
impl Hash for ViewportPointLocation
Source§impl PartialEq for ViewportPointLocation
impl PartialEq for ViewportPointLocation
impl StructuralPartialEq for ViewportPointLocation
Auto Trait Implementations§
impl Freeze for ViewportPointLocation
impl RefUnwindSafe for ViewportPointLocation
impl Send for ViewportPointLocation
impl Sync for ViewportPointLocation
impl Unpin for ViewportPointLocation
impl UnsafeUnpin for ViewportPointLocation
impl UnwindSafe for ViewportPointLocation
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