#[non_exhaustive]pub struct FilmstripCell {
pub index: usize,
pub selected: bool,
pub active: bool,
}Expand description
What a cell of a Filmstrip is told when it is drawn.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.index: usizeIts position in the strip.
selected: boolIt is in the selection.
active: boolThe keyboard is on it.
Trait Implementations§
Source§impl Clone for FilmstripCell
impl Clone for FilmstripCell
Source§fn clone(&self) -> FilmstripCell
fn clone(&self) -> FilmstripCell
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 FilmstripCell
Source§impl Debug for FilmstripCell
impl Debug for FilmstripCell
impl Eq for FilmstripCell
Source§impl PartialEq for FilmstripCell
impl PartialEq for FilmstripCell
impl StructuralPartialEq for FilmstripCell
Auto Trait Implementations§
impl Freeze for FilmstripCell
impl RefUnwindSafe for FilmstripCell
impl Send for FilmstripCell
impl Sync for FilmstripCell
impl Unpin for FilmstripCell
impl UnsafeUnpin for FilmstripCell
impl UnwindSafe for FilmstripCell
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.