pub struct DrawVertexLayoutElements { /* private fields */ }Implementations§
Source§impl DrawVertexLayoutElements
impl DrawVertexLayoutElements
pub fn new( var: &[(DrawVertexLayoutAttribute, DrawVertexLayoutFormat, Size)], ) -> DrawVertexLayoutElements
Trait Implementations§
Source§impl Clone for DrawVertexLayoutElements
impl Clone for DrawVertexLayoutElements
Source§fn clone(&self) -> DrawVertexLayoutElements
fn clone(&self) -> DrawVertexLayoutElements
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 DrawVertexLayoutElements
impl Debug for DrawVertexLayoutElements
Source§impl Default for DrawVertexLayoutElements
impl Default for DrawVertexLayoutElements
Source§fn default() -> DrawVertexLayoutElements
fn default() -> DrawVertexLayoutElements
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DrawVertexLayoutElements
impl RefUnwindSafe for DrawVertexLayoutElements
impl Send for DrawVertexLayoutElements
impl Sync for DrawVertexLayoutElements
impl Unpin for DrawVertexLayoutElements
impl UnwindSafe for DrawVertexLayoutElements
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