pub enum SpatialCellSize2 {
Auto,
Fixed {
width: u32,
height: u32,
},
}Expand description
Cell size selection for 2D spatial hashing.
Variants§
Trait Implementations§
Source§impl Clone for SpatialCellSize2
impl Clone for SpatialCellSize2
Source§fn clone(&self) -> SpatialCellSize2
fn clone(&self) -> SpatialCellSize2
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 moreimpl Copy for SpatialCellSize2
Source§impl Debug for SpatialCellSize2
impl Debug for SpatialCellSize2
impl Eq for SpatialCellSize2
Source§impl PartialEq for SpatialCellSize2
impl PartialEq for SpatialCellSize2
Source§fn eq(&self, other: &SpatialCellSize2) -> bool
fn eq(&self, other: &SpatialCellSize2) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SpatialCellSize2
Auto Trait Implementations§
impl Freeze for SpatialCellSize2
impl RefUnwindSafe for SpatialCellSize2
impl Send for SpatialCellSize2
impl Sync for SpatialCellSize2
impl Unpin for SpatialCellSize2
impl UnsafeUnpin for SpatialCellSize2
impl UnwindSafe for SpatialCellSize2
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