pub enum Encoding {
Latin1,
UTF16,
UTF16BE,
UTF8,
}
Expand description
Types of text encodings used in ID3 frames.
Variants§
Latin1
ISO-8859-1 text encoding, also referred to as latin1 encoding.
UTF16
UTF-16 text encoding with a byte order mark.
UTF16BE
UTF-16BE text encoding without a byte order mark. This encoding is only used in id3v2.4.
UTF8
UTF-8 text encoding. This encoding is only used in id3v2.4.
Trait Implementations§
source§impl Ord for Encoding
impl Ord for Encoding
source§impl PartialEq for Encoding
impl PartialEq for Encoding
source§impl PartialOrd for Encoding
impl PartialOrd for Encoding
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Encoding
impl Eq for Encoding
impl StructuralPartialEq for Encoding
Auto Trait Implementations§
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin for Encoding
impl UnwindSafe for Encoding
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