#[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,
}
Fields§
§x: f32
§y: f32
§z: f32
§r: f32
§g: f32
§b: f32
§a: f32
Trait Implementations§
Source§impl Clone for SvgColoredVertex
impl Clone for SvgColoredVertex
Source§fn clone(&self) -> SvgColoredVertex
fn clone(&self) -> SvgColoredVertex
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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 Copy 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 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