#[non_exhaustive]pub struct AnimationEnd {
pub start_time_offset: Option<Duration>,
/* private fields */
}
Expand description
End previous overlay animation from the video. Without AnimationEnd
, the
overlay object will keep the state of previous animation until the end of
the video.
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>
The time to end overlay object, in seconds. Default: 0
Implementations§
Source§impl AnimationEnd
impl AnimationEnd
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§
Source§impl Clone for AnimationEnd
impl Clone for AnimationEnd
Source§fn clone(&self) -> AnimationEnd
fn clone(&self) -> AnimationEnd
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 AnimationEnd
impl Debug for AnimationEnd
Source§impl Default for AnimationEnd
impl Default for AnimationEnd
Source§fn default() -> AnimationEnd
fn default() -> AnimationEnd
Returns the “default value” for a type. Read more
Source§impl Message for AnimationEnd
impl Message for AnimationEnd
Source§impl PartialEq for AnimationEnd
impl PartialEq for AnimationEnd
impl StructuralPartialEq for AnimationEnd
Auto Trait Implementations§
impl Freeze for AnimationEnd
impl RefUnwindSafe for AnimationEnd
impl Send for AnimationEnd
impl Sync for AnimationEnd
impl Unpin for AnimationEnd
impl UnwindSafe for AnimationEnd
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