Enum medea_jason::media::FacingMode[][src]

pub enum FacingMode {
    User,
    Environment,
    Left,
    Right,
}

Describes the directions that the camera can face, as seen from the user’s perspective. Representation of VideoFacingModeEnum.

Variants

User

Facing toward the user (a self-view camera).

Environment

Facing away from the user (viewing the environment).

Left

Facing to the left of the user.

Right

Facing to the right of the user.

Trait Implementations

impl AsRef<str> for FacingMode[src]

impl Clone for FacingMode[src]

impl Copy for FacingMode[src]

impl Debug for FacingMode[src]

impl Eq for FacingMode[src]

impl FromWasmAbi for FacingMode[src]

type Abi = u32

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for FacingMode[src]

type Abi = u32

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl OptionFromWasmAbi for FacingMode[src]

impl OptionIntoWasmAbi for FacingMode[src]

impl PartialEq<FacingMode> for FacingMode[src]

impl StructuralEq for FacingMode[src]

impl StructuralPartialEq for FacingMode[src]

impl WasmDescribe for FacingMode[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> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

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

type Owned = T

The resulting type after obtaining ownership.

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.

impl<E> WrapTraced<E> for E[src]