pub struct OpenglAttribute {
pub name: String,
pub loc: Option<u32>,
pub size: i32,
pub offset: usize,
pub stride: i32,
}
Fields§
§name: String
§loc: Option<u32>
§size: i32
§offset: usize
§stride: i32
Trait Implementations§
Source§impl Clone for OpenglAttribute
impl Clone for OpenglAttribute
Source§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 moreSource§impl Debug for OpenglAttribute
impl Debug for OpenglAttribute
Source§impl Default for OpenglAttribute
impl Default for OpenglAttribute
Source§fn default() -> OpenglAttribute
fn default() -> OpenglAttribute
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OpenglAttribute
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> ActionTrait for T
impl<T> ActionTrait for T
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