Struct lofty::id3::v2::Id3v2TagFlags
source · pub struct Id3v2TagFlags {
pub unsynchronisation: bool,
pub experimental: bool,
pub footer: bool,
pub crc: bool,
pub restrictions: Option<TagRestrictions>,
}Expand description
Flags that apply to the entire tag
Fields§
§unsynchronisation: boolWhether or not all frames are unsynchronised. See FrameFlags::unsynchronisation
experimental: boolIndicates if the tag is in an experimental stage
Indicates that the tag includes a footer
A footer will be created if the tag is written
crc: boolWhether or not to include a CRC-32 in the extended header
This is calculated if the tag is written
restrictions: Option<TagRestrictions>Restrictions on the tag, written in the extended header
In addition to being setting this flag, all restrictions must be provided. See TagRestrictions
Trait Implementations§
source§impl Clone for Id3v2TagFlags
impl Clone for Id3v2TagFlags
source§fn clone(&self) -> Id3v2TagFlags
fn clone(&self) -> Id3v2TagFlags
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 Id3v2TagFlags
impl Debug for Id3v2TagFlags
source§impl Default for Id3v2TagFlags
impl Default for Id3v2TagFlags
source§fn default() -> Id3v2TagFlags
fn default() -> Id3v2TagFlags
Returns the “default value” for a type. Read more
source§impl PartialEq<Id3v2TagFlags> for Id3v2TagFlags
impl PartialEq<Id3v2TagFlags> for Id3v2TagFlags
source§fn eq(&self, other: &Id3v2TagFlags) -> bool
fn eq(&self, other: &Id3v2TagFlags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for Id3v2TagFlags
impl Eq for Id3v2TagFlags
impl StructuralEq for Id3v2TagFlags
impl StructuralPartialEq for Id3v2TagFlags
Auto Trait Implementations§
impl RefUnwindSafe for Id3v2TagFlags
impl Send for Id3v2TagFlags
impl Sync for Id3v2TagFlags
impl Unpin for Id3v2TagFlags
impl UnwindSafe for Id3v2TagFlags
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