pub struct VertexTextureCoordinateBuffer {
pub id: i32,
pub name: String,
pub q_comp: i32,
pub q_divisor: i32,
pub q_stride: i32,
pub q_type: i32,
pub data: Vec<[f32; 2]>,
pub cached_minmax: Option<([f32; 2], [f32; 2])>,
}Expand description
Holds vertex UV coordinates.
Fields§
§id: i32TODO: Can’t we recompute this?
name: String§q_comp: i32§q_divisor: i32§q_stride: i32§q_type: i32§data: Vec<[f32; 2]>§cached_minmax: Option<([f32; 2], [f32; 2])>Only here to make unit tests simple (1:1 matching)
Trait Implementations§
Source§impl Clone for VertexTextureCoordinateBuffer
impl Clone for VertexTextureCoordinateBuffer
Source§fn clone(&self) -> VertexTextureCoordinateBuffer
fn clone(&self) -> VertexTextureCoordinateBuffer
Returns a duplicate 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 PartialEq for VertexTextureCoordinateBuffer
impl PartialEq for VertexTextureCoordinateBuffer
Source§fn eq(&self, other: &VertexTextureCoordinateBuffer) -> bool
fn eq(&self, other: &VertexTextureCoordinateBuffer) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VertexTextureCoordinateBuffer
Auto Trait Implementations§
impl Freeze for VertexTextureCoordinateBuffer
impl RefUnwindSafe for VertexTextureCoordinateBuffer
impl Send for VertexTextureCoordinateBuffer
impl Sync for VertexTextureCoordinateBuffer
impl Unpin for VertexTextureCoordinateBuffer
impl UnwindSafe for VertexTextureCoordinateBuffer
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