Enum web_sys::EncodedAudioChunkType
source · [−]pub enum EncodedAudioChunkType {
Key,
Delta,
// some variants omitted
}
Expand description
The EncodedAudioChunkType
enum.
This API requires the following crate features to be activated: EncodedAudioChunkType
This API is unstable and requires --cfg=web_sys_unstable_apis
to be activated, as
described in the wasm-bindgen
guide
Variants
Key
Delta
Implementations
sourceimpl EncodedAudioChunkType
impl EncodedAudioChunkType
pub fn from_js_value(obj: &JsValue) -> Option<EncodedAudioChunkType>
Trait Implementations
sourceimpl Clone for EncodedAudioChunkType
impl Clone for EncodedAudioChunkType
sourcefn clone(&self) -> EncodedAudioChunkType
fn clone(&self) -> EncodedAudioChunkType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EncodedAudioChunkType
impl Debug for EncodedAudioChunkType
sourceimpl From<EncodedAudioChunkType> for JsValue
impl From<EncodedAudioChunkType> for JsValue
sourcefn from(obj: EncodedAudioChunkType) -> JsValue
fn from(obj: EncodedAudioChunkType) -> JsValue
Converts to this type from the input type.
sourceimpl FromWasmAbi for EncodedAudioChunkType
impl FromWasmAbi for EncodedAudioChunkType
sourceimpl IntoWasmAbi for EncodedAudioChunkType
impl IntoWasmAbi for EncodedAudioChunkType
sourceimpl PartialEq<EncodedAudioChunkType> for EncodedAudioChunkType
impl PartialEq<EncodedAudioChunkType> for EncodedAudioChunkType
sourcefn eq(&self, other: &EncodedAudioChunkType) -> bool
fn eq(&self, other: &EncodedAudioChunkType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl WasmDescribe for EncodedAudioChunkType
impl WasmDescribe for EncodedAudioChunkType
impl Copy for EncodedAudioChunkType
impl Eq for EncodedAudioChunkType
impl StructuralEq for EncodedAudioChunkType
impl StructuralPartialEq for EncodedAudioChunkType
Auto Trait Implementations
impl RefUnwindSafe for EncodedAudioChunkType
impl Send for EncodedAudioChunkType
impl Sync for EncodedAudioChunkType
impl Unpin for EncodedAudioChunkType
impl UnwindSafe for EncodedAudioChunkType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
sourcefn 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
. Read more