pub enum OverlayPosition {
TopLeft,
TopCenter,
TopRight,
BottomLeft,
BottomCenter,
BottomRight,
Center,
Custom {
x: u32,
y: u32,
},
}Expand description
Position of the timecode overlay on the video frame.
Variants§
TopLeft
Top-left corner.
TopCenter
Top-center.
TopRight
Top-right corner.
BottomLeft
Bottom-left corner.
BottomCenter
Bottom-center.
BottomRight
Bottom-right corner.
Center
Center of the frame.
Custom
Custom position in pixels from top-left origin.
Trait Implementations§
Source§impl Clone for OverlayPosition
impl Clone for OverlayPosition
Source§fn clone(&self) -> OverlayPosition
fn clone(&self) -> OverlayPosition
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 OverlayPosition
impl Debug for OverlayPosition
Source§impl Default for OverlayPosition
impl Default for OverlayPosition
Source§impl<'de> Deserialize<'de> for OverlayPosition
impl<'de> Deserialize<'de> for OverlayPosition
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 OverlayPosition
impl PartialEq for OverlayPosition
Source§impl Serialize for OverlayPosition
impl Serialize for OverlayPosition
impl Copy for OverlayPosition
impl Eq for OverlayPosition
impl StructuralPartialEq for OverlayPosition
Auto Trait Implementations§
impl Freeze for OverlayPosition
impl RefUnwindSafe for OverlayPosition
impl Send for OverlayPosition
impl Sync for OverlayPosition
impl Unpin for OverlayPosition
impl UnsafeUnpin for OverlayPosition
impl UnwindSafe for OverlayPosition
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