[][src]Enum agorartc_sys::agorartc::RENDER_MODE_TYPE

pub enum RENDER_MODE_TYPE {
    RENDER_MODE_HIDDEN,
    RENDER_MODE_FIT,
    RENDER_MODE_ADAPTIVE,
    RENDER_MODE_FILL,
}

Video display modes.

Variants

RENDER_MODE_HIDDEN

1: Uniformly scale the video until it fills the visible boundaries (cropped). One dimension of the video may have clipped contents.

RENDER_MODE_FIT

2: Uniformly scale the video until one of its dimension fits the boundary (zoomed to fit). Areas that are not filled due to disparity in the aspect ratio are filled with black.

RENDER_MODE_ADAPTIVE

DEPRECATED* 3: This mode is deprecated.

RENDER_MODE_FILL

4: The fill mode. In this mode, the SDK stretches or zooms the video to fill the display window.

Trait Implementations

impl FromPrimitive for RENDER_MODE_TYPE[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, 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.