#[non_exhaustive]pub enum TimelineEdit {
Began {
id: u64,
},
Moved {
id: u64,
start_ms: u64,
},
TrimmedStart {
id: u64,
by_ms: i64,
},
TrimmedEnd {
id: u64,
by_ms: i64,
},
}Expand description
What someone did to a block, for the app to apply.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Began
A drag began on this block: the moves that follow are one gesture.
Moved
A block should now start here.
TrimmedStart
A block’s start moved by this much.
TrimmedEnd
A block’s end moved by this much.
Trait Implementations§
Source§impl Clone for TimelineEdit
impl Clone for TimelineEdit
Source§fn clone(&self) -> TimelineEdit
fn clone(&self) -> TimelineEdit
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 TimelineEdit
Source§impl Debug for TimelineEdit
impl Debug for TimelineEdit
impl Eq for TimelineEdit
Source§impl PartialEq for TimelineEdit
impl PartialEq for TimelineEdit
impl StructuralPartialEq for TimelineEdit
Auto Trait Implementations§
impl Freeze for TimelineEdit
impl RefUnwindSafe for TimelineEdit
impl Send for TimelineEdit
impl Sync for TimelineEdit
impl Unpin for TimelineEdit
impl UnsafeUnpin for TimelineEdit
impl UnwindSafe for TimelineEdit
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.