Struct easy_imgui_renderer::glr::Rgba
source · #[repr(C)]pub struct Rgba {
pub r: f32,
pub g: f32,
pub b: f32,
pub a: f32,
}
Fields§
§r: f32
§g: f32
§b: f32
§a: f32
Implementations§
Trait Implementations§
source§impl UniformField for Rgba
impl UniformField for Rgba
fn apply(&self, gl: &GlContext, location: UniformLocation)
unsafe fn apply_array( &self, gl: &GlContext, count: usize, location: UniformLocation )
impl Copy for Rgba
Auto Trait Implementations§
impl RefUnwindSafe for Rgba
impl Send for Rgba
impl Sync for Rgba
impl Unpin for Rgba
impl UnwindSafe for Rgba
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