pub enum Kind {
Circle {
radius: f64,
},
Rect {
width: f64,
height: f64,
},
}Expand description
A circle or a rectangle.
Variants§
Circle
BYRADIUS, and every GEORADIUS form.
Rect
BYBOX, which is an axis aligned rectangle and not a box on the hash
grid. The two have nothing to do with each other.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kind
impl UnwindSafe for Kind
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