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 copy 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 moreAuto 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