Struct oxygengine_composite_renderer::composite_renderer::Triangles [−][src]
pub struct Triangles<'a> {
pub image: Cow<'a, str>,
pub color: Color,
pub vertices: Vec<(Vec2, Vec2)>,
pub faces: Vec<TriangleFace>,
}Fields
image: Cow<'a, str>color: Colorvertices: Vec<(Vec2, Vec2)>[(position, tex coord)]
faces: Vec<TriangleFace>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<'a> RefUnwindSafe for Triangles<'a>
impl<'a> UnwindSafe for Triangles<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
