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: i32Implementations
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 Quadimpl UnwindSafe for QuadBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V