pub struct SubtitleComposition {
pub x: u16,
pub y: u16,
pub width: u16,
pub height: u16,
pub rgba: Vec<u8>,
}Expand description
A single subtitle composition element.
Fields§
§x: u16§y: u16§width: u16§height: u16§rgba: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for SubtitleComposition
impl Clone for SubtitleComposition
Source§fn clone(&self) -> SubtitleComposition
fn clone(&self) -> SubtitleComposition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SubtitleComposition
impl RefUnwindSafe for SubtitleComposition
impl Send for SubtitleComposition
impl Sync for SubtitleComposition
impl Unpin for SubtitleComposition
impl UnsafeUnpin for SubtitleComposition
impl UnwindSafe for SubtitleComposition
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