pub struct AttributeDesc<'a> {
pub name: &'a str,
pub format: AttributeFormat,
pub variants: Variants<'a>,
}Expand description
Vertex or instance attribute declared by a program.
Fields§
§name: &'a str§format: AttributeFormat§variants: Variants<'a>Implementations§
Source§impl<'a> AttributeDesc<'a>
impl<'a> AttributeDesc<'a>
pub const fn new(name: &'a str, format: AttributeFormat) -> Self
pub const fn standing(name: &'a str, format: AttributeFormat) -> Self
Trait Implementations§
Source§impl<'a> Clone for AttributeDesc<'a>
impl<'a> Clone for AttributeDesc<'a>
impl<'a> Copy for AttributeDesc<'a>
Auto Trait Implementations§
impl<'a> Forget for AttributeDesc<'a>
impl<'a> Freeze for AttributeDesc<'a>
impl<'a> Move for AttributeDesc<'a>
impl<'a> RefUnwindSafe for AttributeDesc<'a>
impl<'a> Send for AttributeDesc<'a>
impl<'a> Sync for AttributeDesc<'a>
impl<'a> Unpin for AttributeDesc<'a>
impl<'a> UnsafeUnpin for AttributeDesc<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for AttributeDesc<'a>where
&'a str: UnwindSafe,
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