Enum webrtc_media::track::setting::video::FacingMode [−][src]
pub enum FacingMode {
User,
Environment,
Left,
Right,
}
Expand description
The directions that the camera can face, as seen from the user’s perspective.
Important
Note that getConstraints
may not return exactly the same string for strings not in this enum.
This preserves the possibility of using a future version of WebIDL enum for this setting.
Specification
Variants
User
The source is facing toward the user (a self-view camera).
Environment
The source is facing away from the user (viewing the environment).
Left
The source is facing to the left of the user.
Right
The source is facing to the right of the user.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for FacingMode
impl Send for FacingMode
impl Sync for FacingMode
impl Unpin for FacingMode
impl UnwindSafe for FacingMode
Blanket Implementations
Mutably borrows from an owned value. Read more