Struct ccthw::graphics::vulkan_api::BindlessVertex
source · #[repr(C)]pub struct BindlessVertex {
pub pos: [f32; 4],
pub uv: [f32; 3],
pub pad: [f32; 1],
pub color: [f32; 4],
}
Fields§
§pos: [f32; 4]
§uv: [f32; 3]
§pad: [f32; 1]
§color: [f32; 4]
Trait Implementations§
source§impl Clone for BindlessVertex
impl Clone for BindlessVertex
source§fn clone(&self) -> BindlessVertex
fn clone(&self) -> BindlessVertex
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 BindlessVertex
impl Debug for BindlessVertex
source§impl Default for BindlessVertex
impl Default for BindlessVertex
source§fn default() -> BindlessVertex
fn default() -> BindlessVertex
Returns the “default value” for a type. Read more
source§impl PartialEq<BindlessVertex> for BindlessVertex
impl PartialEq<BindlessVertex> for BindlessVertex
source§fn eq(&self, other: &BindlessVertex) -> bool
fn eq(&self, other: &BindlessVertex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BindlessVertex
impl StructuralPartialEq for BindlessVertex
Auto Trait Implementations§
impl RefUnwindSafe for BindlessVertex
impl Send for BindlessVertex
impl Sync for BindlessVertex
impl Unpin for BindlessVertex
impl UnwindSafe for BindlessVertex
Blanket Implementations§
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.