pub struct Config {
pub codec: Codec,
pub device: Option<PathBuf>,
}Expand description
Decoder configuration.
Fields§
§codec: CodecThe format to decode, H.264 unless set.
device: Option<PathBuf>DRM render node to open (e.g. /dev/dri/renderD128).
None, the default, opens the first node whose driver can decode
codec.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Config
impl Freeze for Config
impl Move for Config
impl RefUnwindSafe for Config
impl Send for Configwhere
RawVecInner: Send,
impl Sync for Configwhere
RawVecInner: Sync,
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Configwhere
RawVecInner: UnwindSafe,
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