pub struct GridSize {
pub w: u32,
pub h: u32,
}Fields§
§w: u32§h: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for GridSize
impl<'de> Deserialize<'de> for GridSize
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 TryFrom<RawGridSize> for GridSize
impl TryFrom<RawGridSize> for GridSize
Source§type Error = OutOfExtent
type Error = OutOfExtent
The type returned in the event of a conversion error.
impl Copy for GridSize
impl Eq for GridSize
impl StructuralPartialEq for GridSize
Auto Trait Implementations§
impl Freeze for GridSize
impl RefUnwindSafe for GridSize
impl Send for GridSize
impl Sync for GridSize
impl Unpin for GridSize
impl UnsafeUnpin for GridSize
impl UnwindSafe for GridSize
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