pub struct WorldRect {
pub origin: WorldPos,
pub size: WorldSize,
}Expand description
A rect in the world
Fields§
§origin: WorldPos§size: WorldSizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WorldRect
impl RefUnwindSafe for WorldRect
impl Send for WorldRect
impl Sync for WorldRect
impl Unpin for WorldRect
impl UnwindSafe for WorldRect
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