pub struct RoomBounds {
pub min_x: f32,
pub min_y: f32,
pub max_x: f32,
pub max_y: f32,
}Expand description
Spatial bounds of the room in world coordinates.
Fields§
§min_x: f32§min_y: f32§max_x: f32§max_y: f32Trait Implementations§
Source§impl Clone for RoomBounds
impl Clone for RoomBounds
Source§fn clone(&self) -> RoomBounds
fn clone(&self) -> RoomBounds
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 RoomBounds
impl Debug for RoomBounds
Source§impl<'de> Deserialize<'de> for RoomBounds
impl<'de> Deserialize<'de> for RoomBounds
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for RoomBounds
impl Serialize for RoomBounds
impl Copy for RoomBounds
Auto Trait Implementations§
impl Freeze for RoomBounds
impl RefUnwindSafe for RoomBounds
impl Send for RoomBounds
impl Sync for RoomBounds
impl Unpin for RoomBounds
impl UnsafeUnpin for RoomBounds
impl UnwindSafe for RoomBounds
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