pub struct VertexInfo { /* private fields */ }Implementations§
Source§impl VertexInfo
impl VertexInfo
pub fn new() -> Self
pub fn attr(self, location: u32, format: VertexFormat) -> Self
pub fn step_mode(self, mode: VertexStepMode) -> Self
Trait Implementations§
Source§impl Clone for VertexInfo
impl Clone for VertexInfo
Source§fn clone(&self) -> VertexInfo
fn clone(&self) -> VertexInfo
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 VertexInfo
impl Debug for VertexInfo
Source§impl Default for VertexInfo
impl Default for VertexInfo
Source§fn default() -> VertexInfo
fn default() -> VertexInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VertexInfo
impl RefUnwindSafe for VertexInfo
impl Send for VertexInfo
impl Sync for VertexInfo
impl Unpin for VertexInfo
impl UnwindSafe for VertexInfo
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