Struct google_transcoder1_beta1::api::AnimationFade
source · [−]pub struct AnimationFade {
pub end_time_offset: Option<String>,
pub fade_type: Option<String>,
pub start_time_offset: Option<String>,
pub xy: Option<NormalizedCoordinate>,
}
Expand description
Display overlay object with fade animation.
This type is not used in any activity, and only used as part of another schema.
Fields
end_time_offset: Option<String>
The time to end the fade animation, in seconds. Default: start_time_offset
+ 1s
fade_type: Option<String>
Required. Type of fade animation: FADE_IN
or FADE_OUT
.
start_time_offset: Option<String>
The time to start the fade animation, in seconds. Default: 0
xy: Option<NormalizedCoordinate>
Normalized coordinates based on output video resolution. Valid values: 0.0
–1.0
. xy
is the upper-left coordinate of the overlay object. For example, use the x and y coordinates {0,0} to position the top-left corner of the overlay animation in the top-left corner of the output video.
Trait Implementations
sourceimpl Clone for AnimationFade
impl Clone for AnimationFade
sourcefn clone(&self) -> AnimationFade
fn clone(&self) -> AnimationFade
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AnimationFade
impl Debug for AnimationFade
sourceimpl Default for AnimationFade
impl Default for AnimationFade
sourcefn default() -> AnimationFade
fn default() -> AnimationFade
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AnimationFade
impl<'de> Deserialize<'de> for AnimationFade
sourcefn 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
sourceimpl Serialize for AnimationFade
impl Serialize for AnimationFade
impl Part for AnimationFade
Auto Trait Implementations
impl RefUnwindSafe for AnimationFade
impl Send for AnimationFade
impl Sync for AnimationFade
impl Unpin for AnimationFade
impl UnwindSafe for AnimationFade
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more