pub enum SavedMusic {
NotModified(SavedMusicNotModified),
SavedMusic(SavedMusic),
}Expand description
Variants§
NotModified(SavedMusicNotModified)
SavedMusic(SavedMusic)
Trait Implementations§
Source§impl Clone for SavedMusic
impl Clone for SavedMusic
Source§fn clone(&self) -> SavedMusic
fn clone(&self) -> SavedMusic
Returns a duplicate 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 SavedMusic
impl Debug for SavedMusic
Source§impl Deserializable for SavedMusic
impl Deserializable for SavedMusic
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<SavedMusic> for SavedMusic
impl From<SavedMusic> for SavedMusic
Source§fn from(x: SavedMusic) -> Self
fn from(x: SavedMusic) -> Self
Converts to this type from the input type.
Source§impl From<SavedMusicNotModified> for SavedMusic
impl From<SavedMusicNotModified> for SavedMusic
Source§fn from(x: SavedMusicNotModified) -> Self
fn from(x: SavedMusicNotModified) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SavedMusic
impl PartialEq for SavedMusic
Source§impl Serializable for SavedMusic
impl Serializable for SavedMusic
Source§impl TryFrom<SavedMusic> for SavedMusic
impl TryFrom<SavedMusic> for SavedMusic
Source§type Error = SavedMusic
type Error = SavedMusic
The type returned in the event of a conversion error.
Source§impl TryFrom<SavedMusic> for SavedMusicNotModified
impl TryFrom<SavedMusic> for SavedMusicNotModified
Source§type Error = SavedMusic
type Error = SavedMusic
The type returned in the event of a conversion error.
impl StructuralPartialEq for SavedMusic
Auto Trait Implementations§
impl Freeze for SavedMusic
impl RefUnwindSafe for SavedMusic
impl Send for SavedMusic
impl Sync for SavedMusic
impl Unpin for SavedMusic
impl UnsafeUnpin for SavedMusic
impl UnwindSafe for SavedMusic
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