pub struct WorkspaceBounds {
pub min_x: f32,
pub min_y: f32,
pub max_x: f32,
pub max_y: f32,
}Expand description
Spatial bounds of the workspace in world coordinates.
Fields§
§min_x: f32§min_y: f32§max_x: f32§max_y: f32Trait Implementations§
Source§impl Clone for WorkspaceBounds
impl Clone for WorkspaceBounds
Source§fn clone(&self) -> WorkspaceBounds
fn clone(&self) -> WorkspaceBounds
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 WorkspaceBounds
impl Debug for WorkspaceBounds
Source§impl<'de> Deserialize<'de> for WorkspaceBounds
impl<'de> Deserialize<'de> for WorkspaceBounds
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 WorkspaceBounds
impl Serialize for WorkspaceBounds
impl Copy for WorkspaceBounds
Auto Trait Implementations§
impl Freeze for WorkspaceBounds
impl RefUnwindSafe for WorkspaceBounds
impl Send for WorkspaceBounds
impl Sync for WorkspaceBounds
impl Unpin for WorkspaceBounds
impl UnsafeUnpin for WorkspaceBounds
impl UnwindSafe for WorkspaceBounds
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