Skip to main content

SCStreamOutput

Trait SCStreamOutput 

Source
pub unsafe trait SCStreamOutput: NSObjectProtocol {
    // Provided method
    unsafe fn stream_did_output_sample_buffer(
        &self,
        stream: &SCStream,
        sample_buffer: CMSampleBufferRef,
        of_type: SCStreamOutputType,
    )
       where Self: Sized + Message { ... }
}

Provided Methods§

Source

unsafe fn stream_did_output_sample_buffer( &self, stream: &SCStream, sample_buffer: CMSampleBufferRef, of_type: SCStreamOutputType, )
where Self: Sized + Message,

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn SCStreamOutput

Source§

impl ProtocolType for dyn SCStreamOutput

Source§

const NAME: &'static str = "SCStreamOutput"

The name of the Objective-C protocol that this type represents. Read more
Source§

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

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

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> SCStreamOutput for ProtocolObject<T>
where T: ?Sized + SCStreamOutput,

Implementors§