pub enum BatchOp {
MoveBy(i64),
ScaleDuration(f64),
SetOpacity(f64),
TrimInBy(i64),
TrimOutBy(i64),
SetMute(bool),
Delete,
}Expand description
An operation to apply to every clip in a group.
Variants§
MoveBy(i64)
Move every clip by a signed offset (in timebase units).
ScaleDuration(f64)
Scale the duration of every clip by a factor.
SetOpacity(f64)
Set the opacity of every clip (0.0 = transparent, 1.0 = opaque).
TrimInBy(i64)
Trim the in-point of every clip by a signed offset.
TrimOutBy(i64)
Trim the out-point of every clip by a signed offset.
SetMute(bool)
Mute or unmute every clip.
Delete
Delete every clip in the group.
Trait Implementations§
impl StructuralPartialEq for BatchOp
Auto Trait Implementations§
impl Freeze for BatchOp
impl RefUnwindSafe for BatchOp
impl Send for BatchOp
impl Sync for BatchOp
impl Unpin for BatchOp
impl UnsafeUnpin for BatchOp
impl UnwindSafe for BatchOp
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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