pub enum TextureLayer {
Background,
Foreground,
}Expand description
Semantic texture layers for a shape. Background is layer 0, Foreground is layer 1.
Variants§
Trait Implementations§
Source§impl Clone for TextureLayer
impl Clone for TextureLayer
Source§fn clone(&self) -> TextureLayer
fn clone(&self) -> TextureLayer
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 TextureLayer
impl Debug for TextureLayer
Source§impl From<TextureLayer> for usize
impl From<TextureLayer> for usize
Source§fn from(value: TextureLayer) -> Self
fn from(value: TextureLayer) -> Self
Converts to this type from the input type.
Source§impl Hash for TextureLayer
impl Hash for TextureLayer
Source§impl PartialEq for TextureLayer
impl PartialEq for TextureLayer
impl Copy for TextureLayer
impl Eq for TextureLayer
impl StructuralPartialEq for TextureLayer
Auto Trait Implementations§
impl Freeze for TextureLayer
impl RefUnwindSafe for TextureLayer
impl Send for TextureLayer
impl Sync for TextureLayer
impl Unpin for TextureLayer
impl UnsafeUnpin for TextureLayer
impl UnwindSafe for TextureLayer
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.