pub struct APlayerAudio {
pub name: String,
pub artist: String,
pub url: String,
pub cover: String,
pub lrc: Option<String>,
}Fields§
§name: String§artist: String§url: String§cover: String§lrc: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for APlayerAudio
impl Clone for APlayerAudio
Source§fn clone(&self) -> APlayerAudio
fn clone(&self) -> APlayerAudio
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 APlayerAudio
impl Debug for APlayerAudio
Source§impl<'de> Deserialize<'de> for APlayerAudio
impl<'de> Deserialize<'de> for APlayerAudio
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<APlayerAudio> for JsValue
impl From<APlayerAudio> for JsValue
Source§fn from(value: APlayerAudio) -> Self
fn from(value: APlayerAudio) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for APlayerAudio
impl FromWasmAbi for APlayerAudio
Source§impl IntoWasmAbi for APlayerAudio
impl IntoWasmAbi for APlayerAudio
Source§impl LongRefFromWasmAbi for APlayerAudio
impl LongRefFromWasmAbi for APlayerAudio
Source§impl OptionFromWasmAbi for APlayerAudio
impl OptionFromWasmAbi for APlayerAudio
Source§impl OptionIntoWasmAbi for APlayerAudio
impl OptionIntoWasmAbi for APlayerAudio
Source§impl PartialEq for APlayerAudio
impl PartialEq for APlayerAudio
Source§impl RefFromWasmAbi for APlayerAudio
impl RefFromWasmAbi for APlayerAudio
Source§type Anchor = RcRef<APlayerAudio>
type Anchor = RcRef<APlayerAudio>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for APlayerAudio
impl RefMutFromWasmAbi for APlayerAudio
Source§impl Serialize for APlayerAudio
impl Serialize for APlayerAudio
Source§impl TryFromJsValue for APlayerAudio
impl TryFromJsValue for APlayerAudio
Source§impl VectorFromWasmAbi for APlayerAudio
impl VectorFromWasmAbi for APlayerAudio
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[APlayerAudio]>
Source§impl VectorIntoJsValue for APlayerAudio
impl VectorIntoJsValue for APlayerAudio
fn vector_into_jsvalue(vector: Box<[APlayerAudio]>) -> JsValue
Source§impl VectorIntoWasmAbi for APlayerAudio
impl VectorIntoWasmAbi for APlayerAudio
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[APlayerAudio]>) -> Self::Abi
Source§impl WasmDescribeVector for APlayerAudio
impl WasmDescribeVector for APlayerAudio
impl StructuralPartialEq for APlayerAudio
impl SupportsConstructor for APlayerAudio
impl SupportsInstanceProperty for APlayerAudio
impl SupportsStaticProperty for APlayerAudio
Auto Trait Implementations§
impl Freeze for APlayerAudio
impl RefUnwindSafe for APlayerAudio
impl Send for APlayerAudio
impl Sync for APlayerAudio
impl Unpin for APlayerAudio
impl UnwindSafe for APlayerAudio
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.