AVMutableCompositionCNComposition

Trait AVMutableCompositionCNComposition 

Source
pub unsafe trait AVMutableCompositionCNComposition:
    ClassType
    + Sized
    + Sealed {
    // Provided method
    unsafe fn addTracksForCinematicAssetInfo_preferredStartingTrackID(
        &self,
        asset_info: &CNAssetInfo,
        preferred_starting_track_id: CMPersistentTrackID,
    ) -> Retained<CNCompositionInfo> { ... }
}
Available on crate feature CNAssetInfo only.
Expand description

Category “CNComposition” on AVMutableComposition.

Provided Methods§

Source

unsafe fn addTracksForCinematicAssetInfo_preferredStartingTrackID( &self, asset_info: &CNAssetInfo, preferred_starting_track_id: CMPersistentTrackID, ) -> Retained<CNCompositionInfo>

Available on crate feature objc2-core-media only.

Adds a group of empty tracks associated with a cinematic asset to a mutable composition.

  • Returns: Information about the composition tracks added to the mutable composition. Be sure to call insertTimeRange on the result to specify at least one time range of cinematic asset you’d like in the composition.

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 AVMutableCompositionCNComposition for AVMutableComposition

Available on crate feature objc2-av-foundation only.

Implementors§