pub struct GLSLStruct {
pub name: String,
pub fields: Vec<GLSLStructField>,
}Expand description
A GLSL struct type definition.
Fields§
§name: StringStruct name.
fields: Vec<GLSLStructField>Fields in declaration order.
Implementations§
Trait Implementations§
Source§impl Clone for GLSLStruct
impl Clone for GLSLStruct
Source§fn clone(&self) -> GLSLStruct
fn clone(&self) -> GLSLStruct
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 GLSLStruct
impl RefUnwindSafe for GLSLStruct
impl Send for GLSLStruct
impl Sync for GLSLStruct
impl Unpin for GLSLStruct
impl UnsafeUnpin for GLSLStruct
impl UnwindSafe for GLSLStruct
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