Struct naga::back::glsl::ScalarString
source · struct ScalarString<'a> {
prefix: &'a str,
full: &'a str,
}
Expand description
Structure returned by glsl_scalar
It contains both a prefix used in other types and the full type name
Fields§
§prefix: &'a str
The prefix used to compose other types
full: &'a str
The name of the scalar type
Auto Trait Implementations§
impl<'a> Freeze for ScalarString<'a>
impl<'a> RefUnwindSafe for ScalarString<'a>
impl<'a> Send for ScalarString<'a>
impl<'a> Sync for ScalarString<'a>
impl<'a> Unpin for ScalarString<'a>
impl<'a> UnwindSafe for ScalarString<'a>
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