pub struct VertexAttr {
pub location: u32,
pub format: VertexFormat,
}Fields§
§location: u32§format: VertexFormatImplementations§
Source§impl VertexAttr
impl VertexAttr
pub fn new(location: u32, vertex_data: VertexFormat) -> Self
Trait Implementations§
Source§impl Clone for VertexAttr
impl Clone for VertexAttr
Source§fn clone(&self) -> VertexAttr
fn clone(&self) -> VertexAttr
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 Debug for VertexAttr
impl Debug for VertexAttr
impl Copy for VertexAttr
Auto Trait Implementations§
impl Freeze for VertexAttr
impl RefUnwindSafe for VertexAttr
impl Send for VertexAttr
impl Sync for VertexAttr
impl Unpin for VertexAttr
impl UnwindSafe for VertexAttr
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