pub enum MediaKind {
Video,
Audio,
Image,
Generated,
Composition,
Adjustment,
}Expand description
The payload domain of a source.
Variants§
Video
A video stream, potentially with an audio stream.
Audio
An audio stream.
Image
A still visual image.
Generated
A picture the engine draws from the source’s Generator; the host supplies nothing.
Composition
A composition of the project, drawn with the source time as its own time. The host supplies only the media its nodes read.
Adjustment
No picture of its own: a clip of it on a video track applies its composition, masks,
opacity and blend mode to everything composited beneath it, its clip nodes reading that
backdrop. The source has only an ID and this kind.
Trait Implementations§
impl Copy for MediaKind
Source§impl<'de> Deserialize<'de> for MediaKind
impl<'de> Deserialize<'de> for MediaKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MediaKind
impl StructuralPartialEq for MediaKind
Auto Trait Implementations§
impl Forget for MediaKind
impl Freeze for MediaKind
impl Move for MediaKind
impl RefUnwindSafe for MediaKind
impl Send for MediaKind
impl Sync for MediaKind
impl Unpin for MediaKind
impl UnsafeUnpin for MediaKind
impl UnwindSafe for MediaKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more