pub enum EntityVisualShape {
Rect,
Circle,
Triangle,
Diamond,
}Expand description
Visual primitive rendered for an entity when no sprite-sheet buffer is attached.
Variants§
Rect
Axis-aligned or rounded rectangle.
Circle
Smooth anti-aliased filled circle.
Triangle
Directional triangle pointing along rotation_rad.
Diamond
Diamond / rotated kite silhouette.
Trait Implementations§
Source§impl Clone for EntityVisualShape
impl Clone for EntityVisualShape
Source§fn clone(&self) -> EntityVisualShape
fn clone(&self) -> EntityVisualShape
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 EntityVisualShape
Source§impl Debug for EntityVisualShape
impl Debug for EntityVisualShape
Source§impl Default for EntityVisualShape
impl Default for EntityVisualShape
Source§fn default() -> EntityVisualShape
fn default() -> EntityVisualShape
Returns the “default value” for a type. Read more
impl Eq for EntityVisualShape
Source§impl Hash for EntityVisualShape
impl Hash for EntityVisualShape
Source§impl PartialEq for EntityVisualShape
impl PartialEq for EntityVisualShape
impl StructuralPartialEq for EntityVisualShape
Auto Trait Implementations§
impl Forget for EntityVisualShape
impl Freeze for EntityVisualShape
impl Move for EntityVisualShape
impl RefUnwindSafe for EntityVisualShape
impl Send for EntityVisualShape
impl Sync for EntityVisualShape
impl Unpin for EntityVisualShape
impl UnsafeUnpin for EntityVisualShape
impl UnwindSafe for EntityVisualShape
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