pub enum AdvisoryRating {
Clean = 2,
Inoffensive = 0,
Explicit = 4,
}Expand description
The iTunes advisory rating of a file. This is stored in the rtng atom.
Variants§
Clean = 2
An advisory rating stored as 2 in the rtng atom.
Inoffensive = 0
An advisory rating stored as 0 in the rtng atom.
Explicit = 4
An advisory rating indicated by any other value than 0 or 2 in the rtng atom.
Implementations§
Trait Implementations§
Source§impl Clone for AdvisoryRating
impl Clone for AdvisoryRating
Source§fn clone(&self) -> AdvisoryRating
fn clone(&self) -> AdvisoryRating
Returns a copy 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 AdvisoryRating
impl Debug for AdvisoryRating
Source§impl Display for AdvisoryRating
impl Display for AdvisoryRating
Source§impl From<u8> for AdvisoryRating
impl From<u8> for AdvisoryRating
Source§impl PartialEq for AdvisoryRating
impl PartialEq for AdvisoryRating
impl Copy for AdvisoryRating
impl Eq for AdvisoryRating
impl StructuralPartialEq for AdvisoryRating
Auto Trait Implementations§
impl Freeze for AdvisoryRating
impl RefUnwindSafe for AdvisoryRating
impl Send for AdvisoryRating
impl Sync for AdvisoryRating
impl Unpin for AdvisoryRating
impl UnwindSafe for AdvisoryRating
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