Struct makepad_widgets::shader::std::os::linux::opengl::OpenglAttribute
pub struct OpenglAttribute {
pub loc: u32,
pub size: i32,
pub offset: usize,
pub stride: i32,
}
Fields§
§loc: u32
§size: i32
§offset: usize
§stride: i32
Trait Implementations§
§impl Clone for OpenglAttribute
impl Clone for OpenglAttribute
§fn clone(&self) -> OpenglAttribute
fn clone(&self) -> OpenglAttribute
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Default for OpenglAttribute
impl Default for OpenglAttribute
§fn default() -> OpenglAttribute
fn default() -> OpenglAttribute
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for OpenglAttribute
impl Send for OpenglAttribute
impl Sync for OpenglAttribute
impl Unpin for OpenglAttribute
impl UnwindSafe for OpenglAttribute
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