Enum mp4parse::AdvisoryRating [−][src]
pub enum AdvisoryRating {
Clean,
Inoffensive,
Explicit(u8),
}
Expand description
Represents the parental advisory rating on the track, stored within the ‘rtng’ atom.
Variants
Clean is always stored as 2 in an ‘rtng’ atom.
A value of 0 in an ‘rtng’ atom indicates ‘Inoffensive’
Explicit(u8)
Any non 2 or 0 value in ‘rtng’ indicates the track is explicit.
Tuple Fields of Explicit
0: u8
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AdvisoryRating
impl Send for AdvisoryRating
impl Sync for AdvisoryRating
impl Unpin for AdvisoryRating
impl UnwindSafe for AdvisoryRating
Blanket Implementations
Mutably borrows from an owned value. Read more