pub enum ViewingDistance {
Handheld = 360,
Close = 500,
Near = 720,
Midrange = 1_200,
Far = 3_000,
Unknown = 600,
}
Expand description
Predefined viewing distances with values in millimeters.
Variants§
Trait Implementations§
Source§impl Clone for ViewingDistance
impl Clone for ViewingDistance
Source§fn clone(&self) -> ViewingDistance
fn clone(&self) -> ViewingDistance
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 ViewingDistance
impl Debug for ViewingDistance
Source§impl PartialEq for ViewingDistance
impl PartialEq for ViewingDistance
impl Copy for ViewingDistance
impl StructuralPartialEq for ViewingDistance
Auto Trait Implementations§
impl Freeze for ViewingDistance
impl RefUnwindSafe for ViewingDistance
impl Send for ViewingDistance
impl Sync for ViewingDistance
impl Unpin for ViewingDistance
impl UnwindSafe for ViewingDistance
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
)