Skip to main content

IAkGameObjListenerListMethods

Trait IAkGameObjListenerListMethods 

Source
pub trait IAkGameObjListenerListMethods: IAkGameObjListenerList {
    // Provided methods
    fn set_use_default_listeners(self, use_default: impl Into<bool>) { ... }
    fn init(self, ak_game_obj: impl Into<AkGameObj>) { ... }
    fn add(self, listener: impl Into<AkAudioListener>) -> bool { ... }
    fn remove(self, listener: impl Into<AkAudioListener>) -> bool { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn set_use_default_listeners(self, use_default: impl Into<bool>)

SetUseDefaultListeners(bool) overload

Source

fn init(self, ak_game_obj: impl Into<AkGameObj>)

Init(crate::root::akgameobj::AkGameObj) overload

Source

fn add(self, listener: impl Into<AkAudioListener>) -> bool

Add(crate::root::akaudiolistener::AkAudioListener) overload

Source

fn remove(self, listener: impl Into<AkAudioListener>) -> bool

Remove(crate::root::akaudiolistener::AkAudioListener) 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: IAkGameObjListenerList> IAkGameObjListenerListMethods for __T

Available on crate feature root-akgameobjlistenerlist only.