pub struct GridPos {
pub x: Option<i32>,
pub y: Option<i32>,
pub w: Option<i32>,
pub h: Option<i32>,
}
Fields§
§x: Option<i32>
§y: Option<i32>
§w: Option<i32>
§h: Option<i32>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GridPos
impl<'de> Deserialize<'de> for GridPos
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 GridPos
impl RefUnwindSafe for GridPos
impl Send for GridPos
impl Sync for GridPos
impl Unpin for GridPos
impl UnwindSafe for GridPos
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