pub enum FowVerdict {
Hide,
Show {
dynamic: bool,
dim: f32,
desaturate: f32,
},
}Expand description
FW.2 — how one hit cell is shown, from its fog-of-war state.
Variants§
Hide
The observer never saw this cell — treat it as air (the marcher continues past it, so within-chunk unseen geometry the twin copied for a neighbour cell stays hidden).
Show
The observer knows this cell — shade and show it.
Implementations§
Source§impl FowVerdict
impl FowVerdict
Trait Implementations§
Source§impl Clone for FowVerdict
impl Clone for FowVerdict
Source§fn clone(&self) -> FowVerdict
fn clone(&self) -> FowVerdict
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 FowVerdict
Source§impl Debug for FowVerdict
impl Debug for FowVerdict
Source§impl PartialEq for FowVerdict
impl PartialEq for FowVerdict
impl StructuralPartialEq for FowVerdict
Auto Trait Implementations§
impl Freeze for FowVerdict
impl RefUnwindSafe for FowVerdict
impl Send for FowVerdict
impl Sync for FowVerdict
impl Unpin for FowVerdict
impl UnsafeUnpin for FowVerdict
impl UnwindSafe for FowVerdict
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more