pub enum EntityIcon {
Empty,
Camera,
Light,
Mesh,
Audio,
}Expand description
Icon hint for the scene tree.
Variants§
Empty
Generic / unknown entity.
Camera
Entity has a Camera component.
Light
Entity has a Light component.
Mesh
Entity has a mesh handle.
Audio
Entity has an AudioSource component.
Trait Implementations§
Source§impl Clone for EntityIcon
impl Clone for EntityIcon
Source§fn clone(&self) -> EntityIcon
fn clone(&self) -> EntityIcon
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 moreSource§impl Debug for EntityIcon
impl Debug for EntityIcon
Source§impl PartialEq for EntityIcon
impl PartialEq for EntityIcon
Source§fn eq(&self, other: &EntityIcon) -> bool
fn eq(&self, other: &EntityIcon) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EntityIcon
impl Eq for EntityIcon
impl StructuralPartialEq for EntityIcon
Auto Trait Implementations§
impl Freeze for EntityIcon
impl RefUnwindSafe for EntityIcon
impl Send for EntityIcon
impl Sync for EntityIcon
impl Unpin for EntityIcon
impl UnsafeUnpin for EntityIcon
impl UnwindSafe for EntityIcon
Blanket Implementations§
Source§impl<T> AppLifecycle for Twhere
T: ?Sized,
impl<T> AppLifecycle 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
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.