pub struct VertexAttribute {
pub format: Option<VertexFormat>,
pub offset: Option<u64>,
pub shader_location: Option<u32>,
/* private fields */
}Fields§
§format: Option<VertexFormat>§offset: Option<u64>§shader_location: Option<u32>Implementations§
Source§impl VertexAttribute
impl VertexAttribute
pub fn new() -> Self
pub fn with_extension(self, extension: VertexAttributeExtension) -> Self
Trait Implementations§
Auto Trait Implementations§
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