Enum ProjectionEye
#[repr(C)]pub enum ProjectionEye {
LEFT = 1,
RIGHT = 2,
}
Expand description
The eye to create a projection for, when creating a projection adjusted for head-mounted displays.
Variants§
Implementations§
§impl ProjectionEye
impl ProjectionEye
pub fn try_from_ord(ord: i64) -> Option<ProjectionEye>
pub fn try_from_ord(ord: i64) -> Option<ProjectionEye>
Convert from numbers 1
and 2
.
Trait Implementations§
§impl Clone for ProjectionEye
impl Clone for ProjectionEye
§fn clone(&self) -> ProjectionEye
fn clone(&self) -> ProjectionEye
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 more§impl Debug for ProjectionEye
impl Debug for ProjectionEye
§impl Hash for ProjectionEye
impl Hash for ProjectionEye
§impl PartialEq for ProjectionEye
impl PartialEq for ProjectionEye
impl Copy for ProjectionEye
impl Eq for ProjectionEye
impl StructuralPartialEq for ProjectionEye
Auto Trait Implementations§
impl Freeze for ProjectionEye
impl RefUnwindSafe for ProjectionEye
impl Send for ProjectionEye
impl Sync for ProjectionEye
impl Unpin for ProjectionEye
impl UnwindSafe for ProjectionEye
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
)