[−][src]Struct yew_aplayer::APlayerAudio
Fields
name: String
artist: String
url: String
cover: String
lrc: Option<String>
Implementations
impl APlayerAudio
[src]
pub fn new(
name: &str,
artist: &str,
url: &str,
cover: &str,
lrc: Option<&str>
) -> APlayerAudio
[src]
name: &str,
artist: &str,
url: &str,
cover: &str,
lrc: Option<&str>
) -> APlayerAudio
Trait Implementations
impl Clone for APlayerAudio
[src]
pub fn clone(&self) -> APlayerAudio
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for APlayerAudio
[src]
impl<'de> Deserialize<'de> for APlayerAudio
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<APlayerAudio, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<APlayerAudio, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl FromWasmAbi for APlayerAudio
[src]
type Abi = u32
The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more
pub unsafe fn from_abi(js: u32) -> APlayerAudio
[src]
impl IntoWasmAbi for APlayerAudio
[src]
type Abi = u32
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
pub fn into_abi(self) -> u32
[src]
impl OptionFromWasmAbi for APlayerAudio
[src]
pub fn is_none(abi: &<APlayerAudio as FromWasmAbi>::Abi) -> bool
[src]
impl OptionIntoWasmAbi for APlayerAudio
[src]
pub fn none() -> <APlayerAudio as IntoWasmAbi>::Abi
[src]
impl PartialEq<APlayerAudio> for APlayerAudio
[src]
pub fn eq(&self, other: &APlayerAudio) -> bool
[src]
pub fn ne(&self, other: &APlayerAudio) -> bool
[src]
impl RefFromWasmAbi for APlayerAudio
[src]
type Abi = u32
The wasm ABI type references to Self
are recovered from.
type Anchor = Ref<'static, 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. Read more
pub unsafe fn ref_from_abi(
js: <APlayerAudio as RefFromWasmAbi>::Abi
) -> <APlayerAudio as RefFromWasmAbi>::Anchor
[src]
js: <APlayerAudio as RefFromWasmAbi>::Abi
) -> <APlayerAudio as RefFromWasmAbi>::Anchor
impl RefMutFromWasmAbi for APlayerAudio
[src]
type Abi = u32
Same as RefFromWasmAbi::Abi
type Anchor = RefMut<'static, APlayerAudio>
Same as RefFromWasmAbi::Anchor
pub unsafe fn ref_mut_from_abi(
js: <APlayerAudio as RefMutFromWasmAbi>::Abi
) -> <APlayerAudio as RefMutFromWasmAbi>::Anchor
[src]
js: <APlayerAudio as RefMutFromWasmAbi>::Abi
) -> <APlayerAudio as RefMutFromWasmAbi>::Anchor
impl Serialize for APlayerAudio
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralPartialEq for APlayerAudio
[src]
Auto Trait Implementations
impl RefUnwindSafe for APlayerAudio
impl Send for APlayerAudio
impl Sync for APlayerAudio
impl Unpin for APlayerAudio
impl UnwindSafe for APlayerAudio
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
[src]
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
pub fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,