Enum lofty::TextEncoding
source · [−]#[repr(u8)]
pub enum TextEncoding {
Latin1,
UTF16,
UTF16BE,
UTF8,
}Expand description
The text encoding for use in ID3v2 frames
Variants
Latin1
ISO-8859-1
UTF16
UTF-16 with a byte order mark
UTF16BE
UTF-16 big endian
UTF8
UTF-8
Implementations
Trait Implementations
sourceimpl Clone for TextEncoding
impl Clone for TextEncoding
sourcefn clone(&self) -> TextEncoding
fn clone(&self) -> TextEncoding
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 moresourceimpl Debug for TextEncoding
impl Debug for TextEncoding
sourceimpl Hash for TextEncoding
impl Hash for TextEncoding
sourceimpl PartialEq<TextEncoding> for TextEncoding
impl PartialEq<TextEncoding> for TextEncoding
sourcefn eq(&self, other: &TextEncoding) -> bool
fn eq(&self, other: &TextEncoding) -> bool
impl Copy for TextEncoding
impl Eq for TextEncoding
impl StructuralEq for TextEncoding
impl StructuralPartialEq for TextEncoding
Auto Trait Implementations
impl RefUnwindSafe for TextEncoding
impl Send for TextEncoding
impl Sync for TextEncoding
impl Unpin for TextEncoding
impl UnwindSafe for TextEncoding
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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