pub struct WebGLUniformLocation {
pub reference: u32,
pub name: String,
}Expand description
the reference to a uniform (global GLSL variable) inside a shader, obtained with GLContext::get_uniform_location.
Fields§
§reference: u32§name: StringTrait Implementations§
Source§impl Debug for WebGLUniformLocation
impl Debug for WebGLUniformLocation
Source§impl Deref for WebGLUniformLocation
impl Deref for WebGLUniformLocation
Source§impl PartialEq for WebGLUniformLocation
impl PartialEq for WebGLUniformLocation
impl StructuralPartialEq for WebGLUniformLocation
Auto Trait Implementations§
impl Freeze for WebGLUniformLocation
impl RefUnwindSafe for WebGLUniformLocation
impl Send for WebGLUniformLocation
impl Sync for WebGLUniformLocation
impl Unpin for WebGLUniformLocation
impl UnwindSafe for WebGLUniformLocation
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