Trait objc2_core_image::CIImageProcessorOutput

source ·
pub unsafe trait CIImageProcessorOutput {
    // Provided methods
    unsafe fn region(&self) -> CGRect
       where Self: Sized + Message { ... }
    unsafe fn bytesPerRow(&self) -> usize
       where Self: Sized + Message { ... }
    unsafe fn format(&self) -> CIFormat
       where Self: Sized + Message { ... }
    unsafe fn baseAddress(&self) -> NonNull<c_void>
       where Self: Sized + Message { ... }
    unsafe fn metalTexture(
        &self
    ) -> Option<Retained<ProtocolObject<dyn MTLTexture>>>
       where Self: Sized + Message { ... }
    unsafe fn metalCommandBuffer(
        &self
    ) -> Option<Retained<ProtocolObject<dyn MTLCommandBuffer>>>
       where Self: Sized + Message { ... }
    unsafe fn digest(&self) -> u64
       where Self: Sized + Message { ... }
}
Available on crate feature CIImageProcessor only.

Provided Methods§

source

unsafe fn region(&self) -> CGRect
where Self: Sized + Message,

source

unsafe fn bytesPerRow(&self) -> usize
where Self: Sized + Message,

source

unsafe fn format(&self) -> CIFormat
where Self: Sized + Message,

Available on crate feature CIImage only.
source

unsafe fn baseAddress(&self) -> NonNull<c_void>
where Self: Sized + Message,

source

unsafe fn metalTexture( &self ) -> Option<Retained<ProtocolObject<dyn MTLTexture>>>
where Self: Sized + Message,

Available on crate feature objc2-metal only.
source

unsafe fn metalCommandBuffer( &self ) -> Option<Retained<ProtocolObject<dyn MTLCommandBuffer>>>
where Self: Sized + Message,

Available on crate feature objc2-metal only.
source

unsafe fn digest(&self) -> u64
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn CIImageProcessorOutput

source§

const NAME: &'static str = "CIImageProcessorOutput"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn CIImageProcessorOutput

Implementations on Foreign Types§

source§

impl<T> CIImageProcessorOutput for ProtocolObject<T>

Implementors§