pub struct ChapterSkipType(pub u64);Expand description
Indicates what type of content the ChapterAtom contains and might be skipped.
It can be used to automatically skip content based on the type.
If a ChapterAtom is inside a ChapterAtom that has a ChapterSkipType set, it
MUST NOT have a ChapterSkipType or have a ChapterSkipType with the same value as it’s parent ChapterAtom.
If the ChapterAtom doesn’t contain a ChapterTimeEnd, the value of the ChapterSkipType is only valid until the next ChapterAtom with a ChapterSkipType value or the end of the file.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for ChapterSkipType
impl Clone for ChapterSkipType
Source§fn clone(&self) -> ChapterSkipType
fn clone(&self) -> ChapterSkipType
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 ChapterSkipType
impl Debug for ChapterSkipType
Source§impl Default for ChapterSkipType
impl Default for ChapterSkipType
Source§impl Deref for ChapterSkipType
impl Deref for ChapterSkipType
Source§impl Element for ChapterSkipType
impl Element for ChapterSkipType
Source§fn decode_body<B: Buf>(buf: &mut B) -> Result<Self>
fn decode_body<B: Buf>(buf: &mut B) -> Result<Self>
Decode the body of the element from a buffer.
Source§fn encode_body<B: BufMut>(&self, buf: &mut B) -> Result<()>
fn encode_body<B: BufMut>(&self, buf: &mut B) -> Result<()>
Encode the body of the element to a buffer.
Source§const HAS_DEFAULT_VALUE: bool = false
const HAS_DEFAULT_VALUE: bool = false
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§impl Hash for ChapterSkipType
impl Hash for ChapterSkipType
Source§impl Ord for ChapterSkipType
impl Ord for ChapterSkipType
Source§fn cmp(&self, other: &ChapterSkipType) -> Ordering
fn cmp(&self, other: &ChapterSkipType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ChapterSkipType
impl PartialEq for ChapterSkipType
Source§impl PartialOrd for ChapterSkipType
impl PartialOrd for ChapterSkipType
impl Copy for ChapterSkipType
impl Eq for ChapterSkipType
impl StructuralPartialEq for ChapterSkipType
Auto Trait Implementations§
impl Freeze for ChapterSkipType
impl RefUnwindSafe for ChapterSkipType
impl Send for ChapterSkipType
impl Sync for ChapterSkipType
impl Unpin for ChapterSkipType
impl UnsafeUnpin for ChapterSkipType
impl UnwindSafe for ChapterSkipType
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