pub struct Paragraph {
pub inner: Vec<BodyElement>,
pub timestamp: u64,
pub duration: u64,
pub window_position: Option<u32>,
pub window_style: Option<u32>,
}Fields§
§inner: Vec<BodyElement>§timestamp: u64Timestamp on when to display the caption
duration: u64Duration to display the caption for
window_position: Option<u32>Reference to a window position ID
window_style: Option<u32>Reference to a window style ID
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Paragraph
impl<'de> Deserialize<'de> for Paragraph
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
Auto Trait Implementations§
impl Freeze for Paragraph
impl RefUnwindSafe for Paragraph
impl Send for Paragraph
impl Sync for Paragraph
impl Unpin for Paragraph
impl UnwindSafe for Paragraph
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