pub struct CaptionedVideo {
pub id: Option<String>,
pub video: MediaItem,
pub captions: Box<Captions>,
pub fit: Option<Fit>,
pub at: Option<f64>,
}Expand description
A video under its captions.
Fields§
§id: Option<String>The node’s name, for other nodes to refer to. Its sound is the video’s.
video: MediaItemThe video.
captions: Box<Captions>The captions, timed from the video’s start.
fit: Option<Fit>How the video fills the canvas. Default cover.
at: Option<f64>When it starts in its parent; its length is the video’s.
Trait Implementations§
Source§impl Clone for CaptionedVideo
impl Clone for CaptionedVideo
Source§impl Debug for CaptionedVideo
impl Debug for CaptionedVideo
Source§impl<'de> Deserialize<'de> for CaptionedVideo
impl<'de> Deserialize<'de> for CaptionedVideo
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
Source§impl PartialEq for CaptionedVideo
impl PartialEq for CaptionedVideo
Source§impl Serialize for CaptionedVideo
impl Serialize for CaptionedVideo
impl StructuralPartialEq for CaptionedVideo
Auto Trait Implementations§
impl Freeze for CaptionedVideo
impl RefUnwindSafe for CaptionedVideo
impl Send for CaptionedVideo
impl Sync for CaptionedVideo
impl Unpin for CaptionedVideo
impl UnsafeUnpin for CaptionedVideo
impl UnwindSafe for CaptionedVideo
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