pub enum InsertMode {
Overwrite,
Ripple,
PushPull,
}Expand description
How a clip insertion interacts with existing timeline content.
Variants§
Overwrite
Overwrites existing content at the target position.
Ripple
Pushes all subsequent clips downstream to make room.
PushPull
Pulls downstream clips and fills gaps with handles.
Implementations§
Source§impl InsertMode
impl InsertMode
Sourcepub fn description(&self) -> &'static str
pub fn description(&self) -> &'static str
Short description of the insert mode.
Sourcepub fn shifts_clips(&self) -> bool
pub fn shifts_clips(&self) -> bool
Returns true if this mode shifts existing clips in time.
Trait Implementations§
Source§impl Clone for InsertMode
impl Clone for InsertMode
Source§fn clone(&self) -> InsertMode
fn clone(&self) -> InsertMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InsertMode
Source§impl Debug for InsertMode
impl Debug for InsertMode
impl Eq for InsertMode
Source§impl Hash for InsertMode
impl Hash for InsertMode
Source§impl PartialEq for InsertMode
impl PartialEq for InsertMode
Source§fn eq(&self, other: &InsertMode) -> bool
fn eq(&self, other: &InsertMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InsertMode
Auto Trait Implementations§
impl Freeze for InsertMode
impl RefUnwindSafe for InsertMode
impl Send for InsertMode
impl Sync for InsertMode
impl Unpin for InsertMode
impl UnsafeUnpin for InsertMode
impl UnwindSafe for InsertMode
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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