Skip to main content

IFrnMetalRenderTargetImpl

Trait IFrnMetalRenderTargetImpl 

Source
pub trait IFrnMetalRenderTargetImpl: IUnknownImpl {
    // Required method
    fn begin_drawing(
        &self,
    ) -> Result<Option<ComPtr<IFrnMetalRenderingSession>>, HResult>;
}
Expand description

Implement this to provide IFrnMetalRenderTarget to native code (see IFrnMetalRenderTarget::from_impl).

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: IFrnMetalRenderTargetImpl + ?Sized> IFrnMetalRenderTargetImpl for Box<T>

Source§

impl<T: IFrnMetalRenderTargetImpl + ?Sized> IFrnMetalRenderTargetImpl for Rc<T>

Implementors§