pub struct VideoOverlay {
pub kind: VideoOverlayType,
pub path: String,
pub position: VideoOverlayPosition,
pub margin: Option<f64>,
pub ratio: f32,
pub opacity: f32,
}Fields§
§kind: VideoOverlayType§path: String§position: VideoOverlayPosition§margin: Option<f64>§ratio: f32§opacity: f32Trait Implementations§
Source§impl Clone for VideoOverlay
impl Clone for VideoOverlay
Source§fn clone(&self) -> VideoOverlay
fn clone(&self) -> VideoOverlay
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VideoOverlay
impl Debug for VideoOverlay
Source§impl Default for VideoOverlay
impl Default for VideoOverlay
Source§fn default() -> VideoOverlay
fn default() -> VideoOverlay
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VideoOverlay
impl<'de> Deserialize<'de> for VideoOverlay
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 VideoOverlay
impl PartialEq for VideoOverlay
Source§impl Serialize for VideoOverlay
impl Serialize for VideoOverlay
impl StructuralPartialEq for VideoOverlay
Auto Trait Implementations§
impl Freeze for VideoOverlay
impl RefUnwindSafe for VideoOverlay
impl Send for VideoOverlay
impl Sync for VideoOverlay
impl Unpin for VideoOverlay
impl UnwindSafe for VideoOverlay
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