pub struct VertexAttribute {
pub format: VertexFormat,
pub offset: u64,
pub shader_location: u32,
}Fields§
§format: VertexFormat§offset: u64§shader_location: u32Trait Implementations§
Source§impl Debug for VertexAttribute
impl Debug for VertexAttribute
Source§impl<'de> Deserialize<'de> for VertexAttribute
impl<'de> Deserialize<'de> for VertexAttribute
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 VertexAttribute
impl RefUnwindSafe for VertexAttribute
impl Send for VertexAttribute
impl Sync for VertexAttribute
impl Unpin 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