Struct web_audio_api::control::Controller [−][src]
pub struct Controller { /* fields omitted */ }
Expand description
Helper struct to control audio streams
Implementations
impl Controller
[src]
impl Controller
[src]pub fn scheduler(&self) -> &Scheduler
[src]
pub fn loop_(&self) -> bool
[src]
pub fn set_loop(&self, loop_: bool)
[src]
pub fn loop_start(&self) -> f64
[src]
pub fn set_loop_start(&self, loop_start: f64)
[src]
pub fn loop_end(&self) -> f64
[src]
pub fn set_loop_end(&self, loop_end: f64)
[src]
pub fn seek(&self, timestamp: f64)
[src]
Trait Implementations
impl Clone for Controller
[src]
impl Clone for Controller
[src]fn clone(&self) -> Controller
[src]
fn clone(&self) -> Controller
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for Controller
[src]
impl Debug for Controller
[src]Auto Trait Implementations
impl RefUnwindSafe for Controller
impl Send for Controller
impl Sync for Controller
impl Unpin for Controller
impl UnwindSafe for Controller
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more