pub struct GLSLStructField {
pub name: String,
pub ty: GLSLType,
}Expand description
A single field inside a GLSL struct definition.
Fields§
§name: StringField name.
ty: GLSLTypeField type.
Implementations§
Trait Implementations§
Source§impl Clone for GLSLStructField
impl Clone for GLSLStructField
Source§fn clone(&self) -> GLSLStructField
fn clone(&self) -> GLSLStructField
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 moreAuto Trait Implementations§
impl Freeze for GLSLStructField
impl RefUnwindSafe for GLSLStructField
impl Send for GLSLStructField
impl Sync for GLSLStructField
impl Unpin for GLSLStructField
impl UnsafeUnpin for GLSLStructField
impl UnwindSafe for GLSLStructField
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