pub struct LocatedEntity {
pub position: IVec2,
pub size: IVec2,
pub properties: HashMap<String, Value>,
pub collides: bool,
}Fields§
§position: IVec2§size: IVec2§properties: HashMap<String, Value>§collides: boolTrait Implementations§
Source§impl Clone for LocatedEntity
impl Clone for LocatedEntity
Source§fn clone(&self) -> LocatedEntity
fn clone(&self) -> LocatedEntity
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 LocatedEntity
impl Debug for LocatedEntity
Source§impl Default for LocatedEntity
impl Default for LocatedEntity
Source§fn default() -> LocatedEntity
fn default() -> LocatedEntity
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LocatedEntity
impl RefUnwindSafe for LocatedEntity
impl Send for LocatedEntity
impl Sync for LocatedEntity
impl Unpin for LocatedEntity
impl UnwindSafe for LocatedEntity
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