struct Shader(c_uint);
Expand description
A wrapper for a shader id, with automatic lifetime management.
Tuple Fields§
§0: c_uint
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Shader
impl Send for Shader
impl Sync for Shader
impl Unpin for Shader
impl UnwindSafe for Shader
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