pub struct MinCache(pub u64);Expand description
The minimum number of frames a player should be able to cache during playback. If set to 0, the reference pseudo-cache system is not used.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Element for MinCache
impl Element for MinCache
Source§const HAS_DEFAULT_VALUE: bool = true
const HAS_DEFAULT_VALUE: bool = true
Whether the element has a default value, as per Matroska specification.
If true, and the element is missing in a master element, it should be treated as if it were present with the default value.
If false, and the element is missing in a master element, it should be treated as an error.
Source§fn decode_body(buf: &mut &[u8]) -> Result<Self>
fn decode_body(buf: &mut &[u8]) -> Result<Self>
Decode the body of the element from a buffer.
Source§impl Ord for MinCache
impl Ord for MinCache
Source§impl PartialOrd for MinCache
impl PartialOrd for MinCache
impl Copy for MinCache
impl Eq for MinCache
impl StructuralPartialEq for MinCache
Auto Trait Implementations§
impl Freeze for MinCache
impl RefUnwindSafe for MinCache
impl Send for MinCache
impl Sync for MinCache
impl Unpin for MinCache
impl UnsafeUnpin for MinCache
impl UnwindSafe for MinCache
Blanket Implementations§
Source§impl<T> AsyncReadElement for Twhere
T: Element,
impl<T> AsyncReadElement for Twhere
T: Element,
Source§impl<T> AsyncReadFrom for Twhere
T: Element,
impl<T> AsyncReadFrom for Twhere
T: Element,
Source§impl<T> AsyncWriteElement for Twhere
T: Element,
impl<T> AsyncWriteElement for Twhere
T: Element,
Source§impl<T> AsyncWriteTo for Twhere
T: Encode,
impl<T> AsyncWriteTo for Twhere
T: Encode,
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