pub struct AttributeVar {
pub name: String,
pub slot: u8,
pub base_type: BaseType,
pub container: ContainerType,
}
Expand description
Vertex information that a shader takes as input.
Fields§
§name: String
Name of this attribute.
slot: u8
Slot of the vertex attribute.
base_type: BaseType
Type that this attribute is composed of.
container: ContainerType
“Scalarness” of this attribute.
Trait Implementations§
Source§impl Clone for AttributeVar
impl Clone for AttributeVar
Source§fn clone(&self) -> AttributeVar
fn clone(&self) -> AttributeVar
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 moreSource§impl Debug for AttributeVar
impl Debug for AttributeVar
Source§impl Hash for AttributeVar
impl Hash for AttributeVar
Source§impl PartialEq for AttributeVar
impl PartialEq for AttributeVar
impl Eq for AttributeVar
impl StructuralPartialEq for AttributeVar
Auto Trait Implementations§
impl Freeze for AttributeVar
impl RefUnwindSafe for AttributeVar
impl Send for AttributeVar
impl Sync for AttributeVar
impl Unpin for AttributeVar
impl UnwindSafe for AttributeVar
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