pub struct Moment {
pub film: usize,
pub at_ms: u64,
pub kind: MomentKind,
pub title: String,
pub text: String,
}Expand description
A place in a film that can be asked for.
Fields§
§film: usizeThe film, by its position in the library.
at_ms: u64When, in milliseconds of the film’s timeline.
kind: MomentKindWhat it is.
title: StringIts title.
text: StringWhat it says.
Trait Implementations§
impl Eq for Moment
impl StructuralPartialEq for Moment
Auto Trait Implementations§
impl Freeze for Moment
impl RefUnwindSafe for Moment
impl Send for Moment
impl Sync for Moment
impl Unpin for Moment
impl UnsafeUnpin for Moment
impl UnwindSafe for Moment
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