pub struct PlaySoundBuilder { /* private fields */ }Expand description
Builder for an animation of playing a sound effect.
sfx()
.path("./click.mp3")
.play()
.after(0.5.s()),Implementations§
Trait Implementations§
Source§impl From<PlaySoundBuilder> for AnimOP
impl From<PlaySoundBuilder> for AnimOP
Source§fn from(b: PlaySoundBuilder) -> AnimOP
fn from(b: PlaySoundBuilder) -> AnimOP
Converts to this type from the input type.
Source§impl IntoAnimOp for PlaySoundBuilder
impl IntoAnimOp for PlaySoundBuilder
fn into_anim_op(self) -> AnimOP
Auto Trait Implementations§
impl Freeze for PlaySoundBuilder
impl RefUnwindSafe for PlaySoundBuilder
impl Send for PlaySoundBuilder
impl Sync for PlaySoundBuilder
impl Unpin for PlaySoundBuilder
impl UnsafeUnpin for PlaySoundBuilder
impl UnwindSafe for PlaySoundBuilder
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