pub struct MetalStruct {
pub name: String,
pub fields: Vec<MetalField>,
}Expand description
A Metal struct definition (used for vertex input/output, etc.).
Fields§
§name: StringStruct name
fields: Vec<MetalField>Fields
Implementations§
Source§impl MetalStruct
impl MetalStruct
Trait Implementations§
Source§impl Clone for MetalStruct
impl Clone for MetalStruct
Source§fn clone(&self) -> MetalStruct
fn clone(&self) -> MetalStruct
Returns a duplicate 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 MetalStruct
impl Debug for MetalStruct
Source§impl PartialEq for MetalStruct
impl PartialEq for MetalStruct
impl StructuralPartialEq for MetalStruct
Auto Trait Implementations§
impl Freeze for MetalStruct
impl RefUnwindSafe for MetalStruct
impl Send for MetalStruct
impl Sync for MetalStruct
impl Unpin for MetalStruct
impl UnsafeUnpin for MetalStruct
impl UnwindSafe for MetalStruct
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