Enum ux::prelude::dx::StereoMode [−][src]
#[non_exhaustive] pub enum StereoMode { Both, Left, Right, // some variants omitted }
Represents how draw should affect the two buffers
of a stereo framebuffer. See Framebuffer::set_stereo_mode
.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
draw to both stereo buffers
draw only to the left stereo buffer
draw only to the left stereo buffer
Trait Implementations
impl Clone for StereoMode
[src]
impl Clone for StereoMode
[src]pub fn clone(&self) -> StereoMode
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for StereoMode
[src]
impl Copy for StereoMode
[src]impl Eq for StereoMode
[src]
impl Eq for StereoMode
[src]impl<'a> FromValue<'a> for StereoMode
[src]
impl<'a> FromValue<'a> for StereoMode
[src]pub unsafe fn from_value(value: &Value) -> StereoMode
[src]
impl<'a> FromValueOptional<'a> for StereoMode
[src]
impl<'a> FromValueOptional<'a> for StereoMode
[src]pub unsafe fn from_value_optional(value: &Value) -> Option<StereoMode>
[src]
impl Hash for StereoMode
[src]
impl Hash for StereoMode
[src]impl Ord for StereoMode
[src]
impl Ord for StereoMode
[src]impl PartialEq<StereoMode> for StereoMode
[src]
impl PartialEq<StereoMode> for StereoMode
[src]pub fn eq(&self, other: &StereoMode) -> bool
[src]
pub fn ne(&self, other: &StereoMode) -> bool
[src]
impl PartialOrd<StereoMode> for StereoMode
[src]
impl PartialOrd<StereoMode> for StereoMode
[src]pub fn partial_cmp(&self, other: &StereoMode) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl SetValue for StereoMode
[src]
impl SetValue for StereoMode
[src]pub unsafe fn set_value(value: &mut Value, this: &StereoMode)
[src]
impl StaticType for StereoMode
[src]
impl StaticType for StereoMode
[src]pub fn static_type() -> Type
[src]
impl StructuralEq for StereoMode
[src]
impl StructuralEq for StereoMode
[src]impl StructuralPartialEq for StereoMode
[src]
impl StructuralPartialEq for StereoMode
[src]Auto Trait Implementations
impl RefUnwindSafe for StereoMode
impl RefUnwindSafe for StereoMode
impl Send for StereoMode
impl Send for StereoMode
impl Sync for StereoMode
impl Sync for StereoMode
impl Unpin for StereoMode
impl Unpin for StereoMode
impl UnwindSafe for StereoMode
impl UnwindSafe for StereoMode
Blanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,