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§
source§impl PackedVertex
impl PackedVertex
Trait Implementations§
source§impl Clone for PackedVertex
impl Clone for PackedVertex
source§fn clone(&self) -> PackedVertex
fn clone(&self) -> PackedVertex
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 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§
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