[−][src]Enum sweeper::Flag
Represents the state of a flag on a closed tile.
Variants
The player didn't mark this tile yet.
Returned by the Default
trait implementation.
The player is absolutely sure that the tile this flag is applied to contains a mine.
A nonstandard flag type, as specified by the generic argument.
Trait Implementations
impl<Cf: Clone> Clone for Flag<Cf>
[src]
impl<Cf: Copy> Copy for Flag<Cf>
[src]
impl<Cf: Debug> Debug for Flag<Cf>
[src]
impl<Cf> Default for Flag<Cf>
[src]
impl<'de, Cf> Deserialize<'de> for Flag<Cf> where
Cf: Deserialize<'de>,
[src]
Cf: Deserialize<'de>,
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
[src]
impl<Cf: Eq> Eq for Flag<Cf>
[src]
impl<Cf> From<Cf> for Flag<Cf>
[src]
impl<Cf: PartialEq> PartialEq<Flag<Cf>> for Flag<Cf>
[src]
impl<Cf> Serialize for Flag<Cf> where
Cf: Serialize,
[src]
Cf: Serialize,
impl<Cf> StructuralEq for Flag<Cf>
[src]
impl<Cf> StructuralPartialEq for Flag<Cf>
[src]
Auto Trait Implementations
impl<Cf> RefUnwindSafe for Flag<Cf> where
Cf: RefUnwindSafe,
Cf: RefUnwindSafe,
impl<Cf> Send for Flag<Cf> where
Cf: Send,
Cf: Send,
impl<Cf> Sync for Flag<Cf> where
Cf: Sync,
Cf: Sync,
impl<Cf> Unpin for Flag<Cf> where
Cf: Unpin,
Cf: Unpin,
impl<Cf> UnwindSafe for Flag<Cf> where
Cf: UnwindSafe,
Cf: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<!> for T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,