pub unsafe trait MDLMeshSCNModelIO:
ClassType
+ Sized
+ Sealed {
// Provided methods
unsafe fn meshWithSCNGeometry(scn_geometry: &SCNGeometry) -> Retained<Self> { ... }
unsafe fn meshWithSCNGeometry_bufferAllocator(
scn_geometry: &SCNGeometry,
buffer_allocator: Option<&ProtocolObject<dyn MDLMeshBufferAllocator>>,
) -> Retained<Self> { ... }
}Available on crate feature
ModelIO only.Expand description
Category “SCNModelIO” on MDLMesh.
Provided Methods§
unsafe fn meshWithSCNGeometry(scn_geometry: &SCNGeometry) -> Retained<Self>
Available on crate feature
SCNGeometry only.unsafe fn meshWithSCNGeometry_bufferAllocator( scn_geometry: &SCNGeometry, buffer_allocator: Option<&ProtocolObject<dyn MDLMeshBufferAllocator>>, ) -> Retained<Self>
Available on crate feature
SCNGeometry and crate feature objc2-model-io and non-watchOS only.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.
Implementations on Foreign Types§
impl MDLMeshSCNModelIO for MDLMesh
Available on crate feature
objc2-model-io and non-watchOS only.