pub struct TimecodeOverlay {
pub style: BurnInStyle,
pub position: BurnInPosition,
pub background_alpha: f32,
pub color: [u8; 3],
}Expand description
Complete overlay specification for timecode burn-in
Fields§
§style: BurnInStyleVisual style
position: BurnInPositionPosition on frame
background_alpha: f32Background rectangle alpha (0.0 = transparent, 1.0 = opaque)
color: [u8; 3]Text colour as [R, G, B]
Implementations§
Source§impl TimecodeOverlay
impl TimecodeOverlay
Sourcepub fn default_broadcast() -> Self
pub fn default_broadcast() -> Self
Standard broadcast overlay: Classic style, bottom-center, semi-transparent black
Sourcepub fn default_dailies() -> Self
pub fn default_dailies() -> Self
Dailies overlay: Modern style, top-left, no background
Trait Implementations§
Source§impl Clone for TimecodeOverlay
impl Clone for TimecodeOverlay
Source§fn clone(&self) -> TimecodeOverlay
fn clone(&self) -> TimecodeOverlay
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 moreAuto Trait Implementations§
impl Freeze for TimecodeOverlay
impl RefUnwindSafe for TimecodeOverlay
impl Send for TimecodeOverlay
impl Sync for TimecodeOverlay
impl Unpin for TimecodeOverlay
impl UnsafeUnpin for TimecodeOverlay
impl UnwindSafe for TimecodeOverlay
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