Struct matroska::ChapterEdition
source · [−]pub struct ChapterEdition {
pub uid: Option<u64>,
pub hidden: bool,
pub default: bool,
pub ordered: bool,
pub chapters: Vec<Chapter>,
}
Expand description
A complete set of chapters
Fields
uid: Option<u64>
The edition’s UID
Whether the chapters should be hidden in the user interface
default: bool
Whether the chapters should be the default
ordered: bool
Whether the order to play chapters is enforced
chapters: Vec<Chapter>
The individual chapter entries
Trait Implementations
sourceimpl Clone for ChapterEdition
impl Clone for ChapterEdition
sourcefn clone(&self) -> ChapterEdition
fn clone(&self) -> ChapterEdition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ChapterEdition
impl Debug for ChapterEdition
sourceimpl Hash for ChapterEdition
impl Hash for ChapterEdition
sourceimpl PartialEq<ChapterEdition> for ChapterEdition
impl PartialEq<ChapterEdition> for ChapterEdition
sourcefn eq(&self, other: &ChapterEdition) -> bool
fn eq(&self, other: &ChapterEdition) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ChapterEdition) -> bool
fn ne(&self, other: &ChapterEdition) -> bool
This method tests for !=
.
impl Eq for ChapterEdition
impl StructuralEq for ChapterEdition
impl StructuralPartialEq for ChapterEdition
Auto Trait Implementations
impl RefUnwindSafe for ChapterEdition
impl Send for ChapterEdition
impl Sync for ChapterEdition
impl Unpin for ChapterEdition
impl UnwindSafe for ChapterEdition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more