Struct otter_api_tests::PiecesSpec[][src]

pub struct PiecesSpec {
    pub pos: Option<PosC<i32>>,
    pub posd: Option<PosC<i32>>,
    pub count: Option<u32>,
    pub face: Option<FaceId>,
    pub pinned: Option<bool>,
    pub angle: PieceAngle,
    pub info: Box<dyn PieceSpec + 'static, Global>,
}

Fields

pos: Option<PosC<i32>>posd: Option<PosC<i32>>count: Option<u32>face: Option<FaceId>pinned: Option<bool>angle: PieceAngleinfo: Box<dyn PieceSpec + 'static, Global>

Trait Implementations

impl Debug for PiecesSpec[src]

impl<'de> Deserialize<'de> for PiecesSpec[src]

impl Serialize for PiecesSpec[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<A> DynCastExt for A

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

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

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

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>,