pub struct GridPosition {
    pub x: u32,
    pub y: u32,
    pub width: u32,
    pub height: u32,
}Expand description
Grid position and size
Fields§
§x: u32§y: u32§width: u32§height: u32Trait Implementations§
Source§impl Clone for GridPosition
 
impl Clone for GridPosition
Source§fn clone(&self) -> GridPosition
 
fn clone(&self) -> GridPosition
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 GridPosition
 
impl Debug for GridPosition
Source§impl<'de> Deserialize<'de> for GridPosition
 
impl<'de> Deserialize<'de> for GridPosition
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
Auto Trait Implementations§
impl Freeze for GridPosition
impl RefUnwindSafe for GridPosition
impl Send for GridPosition
impl Sync for GridPosition
impl Unpin for GridPosition
impl UnwindSafe for GridPosition
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