Enum 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.
Both

draw to both stereo buffers

Left

draw only to the left stereo buffer

Right

draw only to the left stereo buffer

Trait Implementations

impl Clone for StereoMode[src]

impl Copy for StereoMode[src]

impl Debug for StereoMode[src]

impl Display for StereoMode[src]

impl Eq for StereoMode[src]

impl<'a> FromValue<'a> for StereoMode[src]

impl<'a> FromValueOptional<'a> for StereoMode[src]

impl Hash for StereoMode[src]

impl Ord for StereoMode[src]

impl PartialEq<StereoMode> for StereoMode[src]

impl PartialOrd<StereoMode> for StereoMode[src]

impl SetValue for StereoMode[src]

impl StaticType for StereoMode[src]

impl StructuralEq for StereoMode[src]

impl StructuralPartialEq for StereoMode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: SetValue + Send + ToValue + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.