#[non_exhaustive]pub enum MomentKind {
Chapter,
Step,
Note,
}Expand description
What a moment of a film is.
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.
Trait Implementations§
Source§impl Clone for MomentKind
impl Clone for MomentKind
Source§fn clone(&self) -> MomentKind
fn clone(&self) -> MomentKind
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 MomentKind
Source§impl Debug for MomentKind
impl Debug for MomentKind
impl Eq for MomentKind
Source§impl PartialEq for MomentKind
impl PartialEq for MomentKind
impl StructuralPartialEq for MomentKind
Auto Trait Implementations§
impl Freeze for MomentKind
impl RefUnwindSafe for MomentKind
impl Send for MomentKind
impl Sync for MomentKind
impl Unpin for MomentKind
impl UnsafeUnpin for MomentKind
impl UnwindSafe for MomentKind
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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