[][src]Struct wordfeud_solver::Letter

pub struct Letter(_);

A letter that can be used as Tile on the board.

Either a regular letter or a blank ("*") that can be used as any letter.

Implementations

impl Letter[src]

pub fn from_tile(tile: Tile) -> Letter[src]

Create Letter from Tile

pub fn blank() -> Letter[src]

Return new blank

pub fn is_blank(&self) -> bool[src]

Check if letter is blank

pub fn label(&self) -> Label[src]

Get label for letter.

Trait Implementations

impl Clone for Letter[src]

impl Copy for Letter[src]

impl Debug for Letter[src]

impl Default for Letter[src]

impl Into<u8> for Letter[src]

impl Item for Letter[src]

impl PartialEq<Letter> for Letter[src]

impl StructuralPartialEq for Letter[src]

impl TryFrom<u8> for Letter[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,