pub struct DirectPlayProfile { /* private fields */ }
Implementations§
Source§impl DirectPlayProfile
impl DirectPlayProfile
pub fn audio_codec<T>(self, value: T) -> Self
pub fn container<T>(self, value: T) -> Self
pub fn type_<T>(self, value: T) -> Self
pub fn video_codec<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for DirectPlayProfile
impl Clone for DirectPlayProfile
Source§fn clone(&self) -> DirectPlayProfile
fn clone(&self) -> DirectPlayProfile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DirectPlayProfile
impl Debug for DirectPlayProfile
Source§impl Default for DirectPlayProfile
impl Default for DirectPlayProfile
Source§impl From<DirectPlayProfile> for DirectPlayProfile
impl From<DirectPlayProfile> for DirectPlayProfile
Source§fn from(value: DirectPlayProfile) -> Self
fn from(value: DirectPlayProfile) -> Self
Converts to this type from the input type.
Source§impl TryFrom<DirectPlayProfile> for DirectPlayProfile
impl TryFrom<DirectPlayProfile> for DirectPlayProfile
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DirectPlayProfile) -> Result<Self, ConversionError>
fn try_from(value: DirectPlayProfile) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DirectPlayProfile
impl RefUnwindSafe for DirectPlayProfile
impl Send for DirectPlayProfile
impl Sync for DirectPlayProfile
impl Unpin for DirectPlayProfile
impl UnwindSafe for DirectPlayProfile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more