pub enum CellSize {
Square(f32),
Sides([f32; 2]),
}Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CellSize
impl<'de> Deserialize<'de> for CellSize
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Copy for CellSize
impl StructuralPartialEq for CellSize
Auto Trait Implementations§
impl Freeze for CellSize
impl RefUnwindSafe for CellSize
impl Send for CellSize
impl Sync for CellSize
impl Unpin for CellSize
impl UnsafeUnpin for CellSize
impl UnwindSafe for CellSize
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