[−][src]Struct aplayer_wasmbind::APlayerOptions
Fields
autoplay: bool
volume: f32
mutex: bool
list_folded: bool
list_max_height: u32
Implementations
impl APlayerOptions
[src]
pub fn fixed_player() -> Self
[src]
pub fn mini_player() -> Self
[src]
impl APlayerOptions
[src]
pub fn set_audio_list(&mut self, list: &[APlayerAudio]) -> bool
[src]
pub fn set_audio_loop(&mut self, cfg: &str) -> bool
[src]
pub fn set_audio_order(&mut self) -> bool
[src]
pub fn set_preload(&mut self) -> bool
[src]
Trait Implementations
impl Clone for APlayerOptions
[src]
fn clone(&self) -> APlayerOptions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for APlayerOptions
[src]
impl Default for APlayerOptions
[src]
impl<'de> Deserialize<'de> for APlayerOptions
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<APlayerOptions> for JsValue
[src]
fn from(value: APlayerOptions) -> Self
[src]
impl FromWasmAbi for APlayerOptions
[src]
type Abi = u32
The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more
unsafe fn from_abi(js: u32) -> Self
[src]
impl IntoWasmAbi for APlayerOptions
[src]
type Abi = u32
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self) -> u32
[src]
impl OptionFromWasmAbi for APlayerOptions
[src]
impl OptionIntoWasmAbi for APlayerOptions
[src]
impl RefFromWasmAbi for APlayerOptions
[src]
type Abi = u32
The wasm ABI type references to Self
are recovered from.
type Anchor = Ref<'static, APlayerOptions>
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
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
[src]
impl RefMutFromWasmAbi for APlayerOptions
[src]
type Abi = u32
Same as RefFromWasmAbi::Abi
type Anchor = RefMut<'static, APlayerOptions>
Same as RefFromWasmAbi::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
[src]
impl Serialize for APlayerOptions
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl WasmDescribe for APlayerOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for APlayerOptions
impl Send for APlayerOptions
impl Sync for APlayerOptions
impl Unpin for APlayerOptions
impl UnwindSafe for APlayerOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> 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>,