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: Point
colors: [Color; 4]
texture_coords: [Point; 4]
position_env: Option<u16>
position_env_offset: i32
color_env: Option<u16>
color_env_offset: i32
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Quad
impl UnwindSafe for Quad
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V