Struct santa::music::Music [−][src]
Fields
inner: Option<Inner>
Implementations
impl Music
[src]
impl Music
[src]pub fn empty() -> Music
[src]
pub fn start(ctx: &mut EventCtx<'_>, play_music: bool, song: &str) -> Music
[src]
pub fn event(&mut self, ctx: &mut EventCtx<'_>, play_music: &mut bool)
[src]
pub fn draw(&self, g: &mut GfxCtx<'_>)
[src]
pub fn specify_volume(&mut self, volume: f32)
[src]
pub fn change_song(&mut self, song: &str)
[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Music
impl !Send for Music
impl !Sync for Music
impl Unpin for Music
impl !UnwindSafe for Music
Blanket Implementations
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,