#[non_exhaustive]pub struct AdBreak {
pub start_time_offset: Option<Duration>,
/* private fields */
}
Expand description
Ad break.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.start_time_offset: Option<Duration>
Start time in seconds for the ad break, relative to the output file
timeline. The default is 0s
.
Implementations§
Source§impl AdBreak
impl AdBreak
pub fn new() -> Self
Sourcepub fn set_start_time_offset<T>(self, v: T) -> Self
pub fn set_start_time_offset<T>(self, v: T) -> Self
Sets the value of start_time_offset.
Sourcepub fn set_or_clear_start_time_offset<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_start_time_offset<T>(self, v: Option<T>) -> Self
Sets or clears the value of start_time_offset.
Trait Implementations§
impl StructuralPartialEq for AdBreak
Auto Trait Implementations§
impl Freeze for AdBreak
impl RefUnwindSafe for AdBreak
impl Send for AdBreak
impl Sync for AdBreak
impl Unpin for AdBreak
impl UnwindSafe for AdBreak
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