#[repr(C)]pub struct SvgColoredVertex {
pub x: f32,
pub y: f32,
pub z: f32,
pub r: f32,
pub g: f32,
pub b: f32,
pub a: f32,
}Expand description
A 3D vertex with per-vertex RGBA color, used in multi-colored SVG tessellation.
Fields§
§x: f32§y: f32§z: f32§r: f32§g: f32§b: f32§a: f32Trait Implementations§
Source§impl Clone for SvgColoredVertex
impl Clone for SvgColoredVertex
Source§fn clone(&self) -> SvgColoredVertex
fn clone(&self) -> SvgColoredVertex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SvgColoredVertex
Source§impl Debug for SvgColoredVertex
impl Debug for SvgColoredVertex
Source§impl FromIterator<SvgColoredVertex> for SvgColoredVertexVec
impl FromIterator<SvgColoredVertex> for SvgColoredVertexVec
Source§fn from_iter<T>(iter: T) -> SvgColoredVertexVecwhere
T: IntoIterator<Item = SvgColoredVertex>,
fn from_iter<T>(iter: T) -> SvgColoredVertexVecwhere
T: IntoIterator<Item = SvgColoredVertex>,
Creates a value from an iterator. Read more
Source§impl PartialEq for SvgColoredVertex
impl PartialEq for SvgColoredVertex
Source§impl PartialOrd for SvgColoredVertex
impl PartialOrd for SvgColoredVertex
impl StructuralPartialEq for SvgColoredVertex
Auto Trait Implementations§
impl Freeze for SvgColoredVertex
impl RefUnwindSafe for SvgColoredVertex
impl Send for SvgColoredVertex
impl Sync for SvgColoredVertex
impl Unpin for SvgColoredVertex
impl UnsafeUnpin for SvgColoredVertex
impl UnwindSafe for SvgColoredVertex
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more