Enum ui2::ElementIndex
source · pub enum ElementIndex {
Effect,
Background,
Tint,
Highlight,
Content,
Overlay,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ElementIndex
impl Clone for ElementIndex
source§fn clone(&self) -> ElementIndex
fn clone(&self) -> ElementIndex
Returns a copy 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 ElementIndex
impl Debug for ElementIndex
source§impl PartialEq<ElementIndex> for ElementIndex
impl PartialEq<ElementIndex> for ElementIndex
source§fn eq(&self, other: &ElementIndex) -> bool
fn eq(&self, other: &ElementIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ElementIndex
impl Eq for ElementIndex
impl StructuralEq for ElementIndex
impl StructuralPartialEq for ElementIndex
Auto Trait Implementations§
impl RefUnwindSafe for ElementIndex
impl Send for ElementIndex
impl Sync for ElementIndex
impl Unpin for ElementIndex
impl UnwindSafe for ElementIndex
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.