pub enum EmptyStars {
Always,
OnHover,
}Expand description
When empty stars (outlines) show.
Variants§
Always
Always: a panel, a row or a cell with room for them.
OnHover
While the item they rate is hovered (RatingStars::item_hovered)
or the pointer is on the stars: a thumbnail’s overlay.
Trait Implementations§
Source§impl Clone for EmptyStars
impl Clone for EmptyStars
Source§fn clone(&self) -> EmptyStars
fn clone(&self) -> EmptyStars
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EmptyStars
impl Debug for EmptyStars
Source§impl Default for EmptyStars
impl Default for EmptyStars
Source§fn default() -> EmptyStars
fn default() -> EmptyStars
Returns the “default value” for a type. Read more
Source§impl Hash for EmptyStars
impl Hash for EmptyStars
Source§impl PartialEq for EmptyStars
impl PartialEq for EmptyStars
impl Copy for EmptyStars
impl Eq for EmptyStars
impl StructuralPartialEq for EmptyStars
Auto Trait Implementations§
impl Freeze for EmptyStars
impl RefUnwindSafe for EmptyStars
impl Send for EmptyStars
impl Sync for EmptyStars
impl Unpin for EmptyStars
impl UnsafeUnpin for EmptyStars
impl UnwindSafe for EmptyStars
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
§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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more