Struct dbsdk_rs::vdp::PackedVertex
source · [−]#[repr(C)]pub struct PackedVertex {
pub position: Vector4,
pub texcoord: Vector2,
pub color: Color32,
pub ocolor: Color32,
}
Fields
position: Vector4
texcoord: Vector2
color: Color32
ocolor: Color32
Implementations
sourceimpl PackedVertex
impl PackedVertex
Trait Implementations
sourceimpl Clone for PackedVertex
impl Clone for PackedVertex
sourcefn clone(&self) -> PackedVertex
fn clone(&self) -> PackedVertex
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for PackedVertex
Auto Trait Implementations
impl RefUnwindSafe for PackedVertex
impl Send for PackedVertex
impl Sync for PackedVertex
impl Unpin for PackedVertex
impl UnwindSafe for PackedVertex
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more