MDLMaterialSCNModelIO

Trait MDLMaterialSCNModelIO 

Source
pub unsafe trait MDLMaterialSCNModelIO:
    ClassType
    + Sized
    + Sealed {
    // Provided method
    unsafe fn materialWithSCNMaterial(
        scn_material: &SCNMaterial,
    ) -> Retained<Self> { ... }
}
Available on crate feature ModelIO only.
Expand description

Category “SCNModelIO” on MDLMaterial.

Provided Methods§

Source

unsafe fn materialWithSCNMaterial(scn_material: &SCNMaterial) -> Retained<Self>

Available on crate feature SCNMaterial 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§

Source§

impl MDLMaterialSCNModelIO for MDLMaterial

Available on crate feature objc2-model-io and non-watchOS only.

Implementors§