pub struct UserComment { /* private fields */ }Implementations§
Source§impl UserComment
impl UserComment
pub fn new(comment: String) -> Self
pub fn key(&self) -> String
pub fn key_raw(&self) -> &str
pub fn is_key_uppercase(&self) -> bool
pub fn value(&self) -> &str
pub fn len(&self) -> usize
pub fn entry(&self) -> String
pub fn is_empty(&self) -> bool
pub fn clear(&mut self)
Trait Implementations§
Source§impl Debug for UserComment
impl Debug for UserComment
Source§impl Decode for UserComment
impl Decode for UserComment
Source§impl UserCommentExt for UserComment
impl UserCommentExt for UserComment
fn title<S>(value: S) -> Selfwhere
S: Display,
fn artist<S>(value: S) -> Selfwhere
S: Display,
fn album<S>(value: S) -> Selfwhere
S: Display,
fn date<S>(value: S) -> Selfwhere
S: Display,
fn track_number<S>(value: S) -> Selfwhere
S: Display,
fn track_total<S>(value: S) -> Selfwhere
S: Display,
fn disc_number<S>(value: S) -> Selfwhere
S: Display,
fn disc_total<S>(value: S) -> Selfwhere
S: Display,
fn album_artist<S>(value: S) -> Selfwhere
S: Display,
Auto Trait Implementations§
impl Freeze for UserComment
impl RefUnwindSafe for UserComment
impl Send for UserComment
impl Sync for UserComment
impl Unpin for UserComment
impl UnwindSafe for UserComment
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more