pub struct BrowserWasmEngine { /* private fields */ }Expand description
A browser-local wasm stream engine and its capabilities.
Implementations§
Source§impl BrowserWasmEngine
impl BrowserWasmEngine
Sourcepub fn browser_local(id: Symbol) -> Self
pub fn browser_local(id: Symbol) -> Self
Builds a browser-local engine with default entrypoints.
Sourcepub fn entry_points(&self) -> &BrowserWasmEntryPoints
pub fn entry_points(&self) -> &BrowserWasmEntryPoints
Returns the engine entrypoint symbols.
Sourcepub fn audio_worklet_capable(&self) -> bool
pub fn audio_worklet_capable(&self) -> bool
Returns whether the engine can drive an AudioWorklet.
Sourcepub fn transport_kind(&self) -> TransportKind
pub fn transport_kind(&self) -> TransportKind
Returns the transport kind used to reach this engine.
Sourcepub fn uses_server_audio_tunnel(&self) -> bool
pub fn uses_server_audio_tunnel(&self) -> bool
Returns whether this engine tunnels audio through the server.
Trait Implementations§
Source§impl Clone for BrowserWasmEngine
impl Clone for BrowserWasmEngine
Source§fn clone(&self) -> BrowserWasmEngine
fn clone(&self) -> BrowserWasmEngine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BrowserWasmEngine
impl Debug for BrowserWasmEngine
impl Eq for BrowserWasmEngine
Source§impl PartialEq for BrowserWasmEngine
impl PartialEq for BrowserWasmEngine
Source§fn eq(&self, other: &BrowserWasmEngine) -> bool
fn eq(&self, other: &BrowserWasmEngine) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BrowserWasmEngine
Auto Trait Implementations§
impl Freeze for BrowserWasmEngine
impl RefUnwindSafe for BrowserWasmEngine
impl Send for BrowserWasmEngine
impl Sync for BrowserWasmEngine
impl Unpin for BrowserWasmEngine
impl UnsafeUnpin for BrowserWasmEngine
impl UnwindSafe for BrowserWasmEngine
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