pub struct FrameCompositionMeta(/* private fields */);
Expand description
Metadata type that holds information about the positioning, size, transparency and composition operator of a video frame in the timeline composition.
Implementations§
source§impl FrameCompositionMeta
impl FrameCompositionMeta
pub fn alpha(&self) -> f64
pub fn set_alpha(&mut self, alpha: f64)
pub fn position(&self) -> (f64, f64)
pub fn set_position(&mut self, posx: f64, posy: f64)
pub fn pos_x(&self) -> f64
pub fn set_pos_x(&mut self, pos_x: f64)
pub fn pos_y(&self) -> f64
pub fn set_pos_y(&mut self, pos_y: f64)
pub fn size(&self) -> (f64, f64)
pub fn set_size(&mut self, width: f64, height: f64)
pub fn width(&self) -> f64
pub fn set_width(&mut self, width: f64)
pub fn height(&self) -> f64
pub fn set_height(&mut self, height: f64)
pub fn zorder(&self) -> u32
pub fn set_zorder(&mut self, zorder: u32)
pub fn operator(&self) -> i32
pub fn set_operator(&mut self, operator: i32)
Trait Implementations§
source§impl Debug for FrameCompositionMeta
impl Debug for FrameCompositionMeta
source§impl MetaAPI for FrameCompositionMeta
impl MetaAPI for FrameCompositionMeta
impl Send for FrameCompositionMeta
impl Sync for FrameCompositionMeta
Auto Trait Implementations§
impl Freeze for FrameCompositionMeta
impl RefUnwindSafe for FrameCompositionMeta
impl Unpin for FrameCompositionMeta
impl UnwindSafe for FrameCompositionMeta
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more