pub unsafe trait NSBundleSoundExtensions:
ClassType
+ Sized
+ Sealed {
// Provided method
fn pathForSoundResource(
&self,
name: &NSSoundName,
) -> Option<Retained<NSString>> { ... }
}
Available on crate feature
NSSound
only.Expand description
Category on NSBundle
.
Provided Methods§
fn pathForSoundResource(&self, name: &NSSoundName) -> Option<Retained<NSString>>
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.