Skip to main content

IJukeboxPlayerMethods

Trait IJukeboxPlayerMethods 

Source
pub trait IJukeboxPlayerMethods: IJukeboxPlayer {
    // Provided methods
    fn is_playing(self, event_name: impl Into<Il2CppString>) -> bool { ... }
    fn play(self, event_name: impl Into<Il2CppString>) { ... }
    fn stop(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn is_playing(self, event_name: impl Into<Il2CppString>) -> bool

IsPlaying(::unity::Il2CppString) overload

Source

fn play(self, event_name: impl Into<Il2CppString>)

Play(::unity::Il2CppString) overload

Source

fn stop(self)

Stop() overload

Source

fn ctor(self)

.ctor() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IJukeboxPlayer> IJukeboxPlayerMethods for __T

Available on crate feature app-jukeboxplayer only.