Struct twmap::Quad[][src]

pub struct Quad {
    pub corners: [Point; 4],
    pub position: Point,
    pub colors: [Color; 4],
    pub texture_coords: [Point; 4],
    pub position_env: Option<u16>,
    pub position_env_offset: i32,
    pub color_env: Option<u16>,
    pub color_env_offset: i32,
}

Fields

corners: [Point; 4]position: Pointcolors: [Color; 4]texture_coords: [Point; 4]position_env: Option<u16>position_env_offset: i32color_env: Option<u16>color_env_offset: i32

Implementations

impl Quad[src]

pub fn check(
    &self,
    env_types: &Vec<EnvelopeKind>
) -> Result<(), ReferencedEnvelopeError>
[src]

Trait Implementations

impl Clone for Quad[src]

impl Debug for Quad[src]

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

impl PartialEq<Quad> for Quad[src]

impl Serialize for Quad[src]

impl StructuralPartialEq for Quad[src]

Auto Trait Implementations

impl RefUnwindSafe for Quad

impl Send for Quad

impl Sync for Quad

impl Unpin for Quad

impl UnwindSafe for Quad

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> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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