pub struct MetalTranscodeSession { /* private fields */ }Expand description
Placeholder Metal transcode session for hosts without Metal support.
Implementations§
Source§impl MetalTranscodeSession
impl MetalTranscodeSession
Sourcepub const fn system_default() -> Result<Self, MetalTranscodeError>
pub const fn system_default() -> Result<Self, MetalTranscodeError>
Return MetalUnavailable on hosts without Metal support.
Trait Implementations§
Source§impl Clone for MetalTranscodeSession
impl Clone for MetalTranscodeSession
Source§fn clone(&self) -> MetalTranscodeSession
fn clone(&self) -> MetalTranscodeSession
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MetalTranscodeSession
Source§impl Debug for MetalTranscodeSession
impl Debug for MetalTranscodeSession
Source§impl Default for MetalTranscodeSession
impl Default for MetalTranscodeSession
Source§fn default() -> MetalTranscodeSession
fn default() -> MetalTranscodeSession
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MetalTranscodeSession
impl RefUnwindSafe for MetalTranscodeSession
impl Send for MetalTranscodeSession
impl Sync for MetalTranscodeSession
impl Unpin for MetalTranscodeSession
impl UnsafeUnpin for MetalTranscodeSession
impl UnwindSafe for MetalTranscodeSession
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more