pub struct VertexAttribute {
pub location: u32,
pub format: VertexFormat,
pub offset: u32,
}Fields§
§location: u32§format: VertexFormat§offset: u32Trait Implementations§
Source§impl Clone for VertexAttribute
impl Clone for VertexAttribute
impl Copy for VertexAttribute
Auto Trait Implementations§
impl Forget for VertexAttribute
impl Freeze for VertexAttribute
impl RefUnwindSafe for VertexAttribute
impl Send for VertexAttribute
impl Sync for VertexAttribute
impl Unpin for VertexAttribute
impl UnsafeUnpin for VertexAttribute
impl UnwindSafe for VertexAttribute
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