pub struct Shader { /* private fields */ }
Implementations§
source§impl Shader
impl Shader
pub fn new( ugli: &Ugli, shader_type: ShaderType, source: &str ) -> Result<Self, ShaderCompilationError>
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