pub struct SemanticsDesc {
pub index: usize,
pub name: String,
}Expand description
Semantics description.
Fields§
§index: usizeSemantics index.
name: StringName of the semantics (used in shaders).
Trait Implementations§
Source§impl Clone for SemanticsDesc
impl Clone for SemanticsDesc
Source§fn clone(&self) -> SemanticsDesc
fn clone(&self) -> SemanticsDesc
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 SemanticsDesc
impl Debug for SemanticsDesc
Source§impl Hash for SemanticsDesc
impl Hash for SemanticsDesc
Source§impl PartialEq for SemanticsDesc
impl PartialEq for SemanticsDesc
impl Eq for SemanticsDesc
impl StructuralPartialEq for SemanticsDesc
Auto Trait Implementations§
impl Freeze for SemanticsDesc
impl RefUnwindSafe for SemanticsDesc
impl Send for SemanticsDesc
impl Sync for SemanticsDesc
impl Unpin for SemanticsDesc
impl UnwindSafe for SemanticsDesc
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