pub enum EffectReach {
Grown,
Travel,
Visible,
}Expand description
How far one source’s effect reaches.
Variants§
Grown
The source’s footprint grown by the range in every plan direction.
Travel
The points of the free region whose shortest path within it from the source’s footprint centre is no longer than the range.
Visible
The points of the free region the source’s footprint centre sees within it, no farther than the range.
Implementations§
Trait Implementations§
Source§impl Clone for EffectReach
impl Clone for EffectReach
impl Copy for EffectReach
Source§impl Debug for EffectReach
impl Debug for EffectReach
impl Eq for EffectReach
Source§impl Hash for EffectReach
impl Hash for EffectReach
Source§impl Ord for EffectReach
impl Ord for EffectReach
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for EffectReach
impl PartialEq for EffectReach
Source§impl PartialOrd for EffectReach
impl PartialOrd for EffectReach
impl StructuralPartialEq for EffectReach
Auto Trait Implementations§
impl Freeze for EffectReach
impl RefUnwindSafe for EffectReach
impl Send for EffectReach
impl Sync for EffectReach
impl Unpin for EffectReach
impl UnsafeUnpin for EffectReach
impl UnwindSafe for EffectReach
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