pub struct EndCard {
pub id: Option<String>,
pub text: String,
pub subtitle: Option<String>,
pub logo: Option<String>,
pub background: Option<Rgba>,
pub fade: Option<f64>,
pub at: Option<f64>,
pub duration: Option<f64>,
}Expand description
A closing card.
Fields§
§id: Option<String>The node’s name, for other nodes to refer to.
text: StringThe title.
subtitle: Option<String>A smaller line under it.
logo: Option<String>A picture above the title.
background: Option<Rgba>The card’s color. Default: the theme’s surface.
fade: Option<f64>Seconds of fade in and out. Default: the theme’s.
at: Option<f64>Seconds from the parent’s start (an overlay’s: the video’s). Ignored in a sequence, which places its children one after another.
duration: Option<f64>Length in seconds. Default: the node’s own (a video’s, a caption file’s), else what its parent gives it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EndCard
impl<'de> Deserialize<'de> for EndCard
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 StructuralPartialEq for EndCard
Auto Trait Implementations§
impl Freeze for EndCard
impl RefUnwindSafe for EndCard
impl Send for EndCard
impl Sync for EndCard
impl Unpin for EndCard
impl UnsafeUnpin for EndCard
impl UnwindSafe for EndCard
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