pub struct Clip { /* private fields */ }
Expand description
Audio segment with sound effects.
Can be loaded from file using Factory::load_audio
.
Implementations
sourceimpl Clip
impl Clip
sourcepub fn take_duration(&mut self, duration: Duration)
pub fn take_duration(&mut self, duration: Duration)
Clip the sound to the desired duration.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Clip
impl !Send for Clip
impl !Sync for Clip
impl Unpin for Clip
impl UnwindSafe for Clip
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
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>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.