Enum webrtc_media::track::setting::video::ResizeMode [−][src]
pub enum ResizeMode {
None,
CropAndScale,
}
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
This resolution and frame rate is offered by the camera, its driver, or the OS.
This resolution is down-scaled and/or cropped from a higher camera resolution by the User Agent, or its frame rate is decimated by the User Agent. The media MUST NOT be up-scaled, stretched or have fake data created that did not occur in the input source.
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 ResizeMode
impl Send for ResizeMode
impl Sync for ResizeMode
impl Unpin for ResizeMode
impl UnwindSafe for ResizeMode
Blanket Implementations
Mutably borrows from an owned value. Read more