pub unsafe trait MTLIOFileHandle:
NSObjectProtocol
+ Send
+ Sync {
// Provided methods
fn label(&self) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
fn setLabel(&self, label: Option<&NSString>)
where Self: Sized + Message { ... }
}Available on crate feature
MTLIOCommandQueue only.Expand description
Represents a file (raw or compressed) that can be used as a source for load commands encoded in a MTLIOCommandBuffer.
See also Apple’s documentation
Provided Methods§
Trait Implementations§
impl<T> ImplementedBy<T> for dyn MTLIOFileHandle
Source§impl ProtocolType for dyn MTLIOFileHandle
impl ProtocolType for dyn MTLIOFileHandle
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".