pub struct DummyPlayback {
pub volume: AnimatedFloat,
/* private fields */
}
Fields
volume: AnimatedFloat
Implementations
sourceimpl DummyPlayback
impl DummyPlayback
Trait Implementations
sourceimpl Clone for DummyPlayback
impl Clone for DummyPlayback
sourcefn clone(&self) -> DummyPlayback
fn clone(&self) -> DummyPlayback
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 Disposable for DummyPlayback
impl Disposable for DummyPlayback
sourceimpl Playback for DummyPlayback
impl Playback for DummyPlayback
sourcefn volume(&self) -> AnimatedFloat
fn volume(&self) -> AnimatedFloat
The volume of the sound being played, between 0 and 1 (inclusive).
sourcefn paused(&self) -> bool
fn paused(&self) -> bool
Whether the playback is currently paused. Playbacks are automatically paused while the app is hidden, such as when minimized or placed in a background browser tab. Read more
sourcefn complete(&self) -> Value<bool>
fn complete(&self) -> Value<bool>
Whether the playback has finished playing or has been disposed. Looping playbacks will never complete naturally, and are complete only after being disposed. Read more
fn set_complete(&self, val: Value<bool>)
fn set_paused(&self, val: bool)
fn set_volume(&self, val: AnimatedFloat)
fn set_position(&self, pos: f32)
Auto Trait Implementations
impl !RefUnwindSafe for DummyPlayback
impl !Send for DummyPlayback
impl !Sync for DummyPlayback
impl Unpin for DummyPlayback
impl !UnwindSafe for DummyPlayback
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
sourcefn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.