pub enum ViewIdentity {
Mono,
Left,
Right,
}Expand description
A named target view; it has no platform graphics handle.
Variants§
Mono
The only view on a monoscopic target.
Left
The left view of a stereo target.
Right
The right view of a stereo target.
Trait Implementations§
Source§impl Clone for ViewIdentity
impl Clone for ViewIdentity
Source§fn clone(&self) -> ViewIdentity
fn clone(&self) -> ViewIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ViewIdentity
Source§impl Debug for ViewIdentity
impl Debug for ViewIdentity
Source§impl<'de> Deserialize<'de> for ViewIdentity
impl<'de> Deserialize<'de> for ViewIdentity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ViewIdentity
Source§impl Ord for ViewIdentity
impl Ord for ViewIdentity
Source§fn cmp(&self, other: &ViewIdentity) -> Ordering
fn cmp(&self, other: &ViewIdentity) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ViewIdentity
impl PartialEq for ViewIdentity
Source§fn eq(&self, other: &ViewIdentity) -> bool
fn eq(&self, other: &ViewIdentity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ViewIdentity
impl PartialOrd for ViewIdentity
Source§impl Serialize for ViewIdentity
impl Serialize for ViewIdentity
impl StructuralPartialEq for ViewIdentity
Auto Trait Implementations§
impl Freeze for ViewIdentity
impl RefUnwindSafe for ViewIdentity
impl Send for ViewIdentity
impl Sync for ViewIdentity
impl Unpin for ViewIdentity
impl UnsafeUnpin for ViewIdentity
impl UnwindSafe for ViewIdentity
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