pub struct VertexAttributeInfo {
pub stride: usize,
pub format: u32,
pub buffer_size: usize,
}Fields§
§stride: usize§format: u32§buffer_size: usizeTrait Implementations§
Source§impl Clone for VertexAttributeInfo
impl Clone for VertexAttributeInfo
Source§fn clone(&self) -> VertexAttributeInfo
fn clone(&self) -> VertexAttributeInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VertexAttributeInfo
impl Debug for VertexAttributeInfo
Source§impl<'de> Deserialize<'de> for VertexAttributeInfo
impl<'de> Deserialize<'de> for VertexAttributeInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VertexAttributeInfo
impl RefUnwindSafe for VertexAttributeInfo
impl Send for VertexAttributeInfo
impl Sync for VertexAttributeInfo
impl Unpin for VertexAttributeInfo
impl UnsafeUnpin for VertexAttributeInfo
impl UnwindSafe for VertexAttributeInfo
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