[][src]Struct uwp_transcode::transcoder::MediaProfile

pub struct MediaProfile { /* fields omitted */ }

A media profile used for transcoding. Cloning this produces another handle to it.

Implementations

impl MediaProfile[src]

pub fn create_hevc(video_quality: VideoQuality) -> TranscodeResult<Self>[src]

Create a HEVC profile with the given video quality.

pub fn create_mp3(audio_quality: AudioQuality) -> TranscodeResult<Self>[src]

Create an Mp3 profile with the given audio quality.

pub fn as_media_encoding_profile(&self) -> &MediaEncodingProfile[src]

Get the inner [MediaEncodingProfile] for this object

Trait Implementations

impl Clone for MediaProfile[src]

impl Debug for MediaProfile[src]

Auto Trait Implementations

impl RefUnwindSafe for MediaProfile

impl Send for MediaProfile

impl Sync for MediaProfile

impl Unpin for MediaProfile

impl UnwindSafe for MediaProfile

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, 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.