Trait AVVideoCompositionInstructionProtocol

Source
pub unsafe trait AVVideoCompositionInstructionProtocol: NSObjectProtocol {
    // Provided methods
    unsafe fn timeRange(&self) -> CMTimeRange
       where Self: Sized + Message { ... }
    unsafe fn enablePostProcessing(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn containsTweening(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn requiredSourceTrackIDs(
        &self,
    ) -> Option<Retained<NSArray<NSValue>>>
       where Self: Sized + Message { ... }
    unsafe fn passthroughTrackID(&self) -> CMPersistentTrackID
       where Self: Sized + Message { ... }
    unsafe fn requiredSourceSampleDataTrackIDs(
        &self,
    ) -> Retained<NSArray<NSNumber>>
       where Self: Sized + Message { ... }
}
Available on crate feature AVVideoCompositing only.
Expand description

The AVVideoCompositionInstruction protocol is implemented by objects to represent operations to be performed by a compositor.

See also Apple’s documentation

Provided Methods§

Source

unsafe fn timeRange(&self) -> CMTimeRange
where Self: Sized + Message,

Available on crate feature objc2-core-media only.
Source

unsafe fn enablePostProcessing(&self) -> bool
where Self: Sized + Message,

Source

unsafe fn containsTweening(&self) -> bool
where Self: Sized + Message,

Source

unsafe fn requiredSourceTrackIDs(&self) -> Option<Retained<NSArray<NSValue>>>
where Self: Sized + Message,

Source

unsafe fn passthroughTrackID(&self) -> CMPersistentTrackID
where Self: Sized + Message,

Available on crate feature objc2-core-media only.
Source

unsafe fn requiredSourceSampleDataTrackIDs(&self) -> Retained<NSArray<NSNumber>>
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn AVVideoCompositionInstructionProtocol

Source§

const NAME: &'static str = "AVVideoCompositionInstruction"

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
Source§

impl<T> ImplementedBy<T> for dyn AVVideoCompositionInstructionProtocol

Implementations on Foreign Types§

Source§

impl<T> AVVideoCompositionInstructionProtocol for ProtocolObject<T>

Implementors§

Source§

impl AVVideoCompositionInstructionProtocol for AVMutableVideoCompositionInstruction

Available on crate feature AVVideoComposition only.
Source§

impl AVVideoCompositionInstructionProtocol for AVVideoCompositionInstruction

Available on crate feature AVVideoComposition only.