pub enum SnapTarget {
ItemEdge {
item_id: Option<String>,
track_id: Option<String>,
track_index: usize,
edge: SnapEdge,
},
Point {
index: usize,
},
}Expand description
What the moving range snapped to.
Variants§
ItemEdge
The start or end of a clip already on the timeline.
Point
One of the caller’s extra snap points (playhead, markers, …), by its
index in extra_points.
Trait Implementations§
Source§impl Clone for SnapTarget
impl Clone for SnapTarget
Source§impl Debug for SnapTarget
impl Debug for SnapTarget
Source§impl PartialEq for SnapTarget
impl PartialEq for SnapTarget
impl StructuralPartialEq for SnapTarget
Auto Trait Implementations§
impl Freeze for SnapTarget
impl RefUnwindSafe for SnapTarget
impl Send for SnapTarget
impl Sync for SnapTarget
impl Unpin for SnapTarget
impl UnsafeUnpin for SnapTarget
impl UnwindSafe for SnapTarget
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