[][src]Struct aplayer_wasmbind::APlayerOptions

pub struct APlayerOptions {
    pub autoplay: bool,
    pub volume: f32,
    pub mutex: bool,
    pub list_folded: bool,
    pub list_max_height: u32,
    // some fields omitted
}

Fields

autoplay: boolvolume: f32mutex: boollist_folded: boollist_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]

impl Debug for APlayerOptions[src]

impl Default for APlayerOptions[src]

impl<'de> Deserialize<'de> for APlayerOptions[src]

impl From<APlayerOptions> for JsValue[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

impl IntoWasmAbi for APlayerOptions[src]

type Abi = u32

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

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

impl RefMutFromWasmAbi for APlayerOptions[src]

type Abi = u32

Same as RefFromWasmAbi::Abi

type Anchor = RefMut<'static, APlayerOptions>

Same as RefFromWasmAbi::Anchor

impl Serialize for APlayerOptions[src]

impl WasmDescribe for APlayerOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.