Struct gl_helpers::GLVertex
source · pub struct GLVertex { /* private fields */ }
Implementations
sourceimpl GLVertex
impl GLVertex
pub fn new(
location: usize,
item_count: usize,
kind: DataKind,
stride: usize,
offset: usize
) -> Self
pub fn location(&self) -> usize
pub fn item_count(&self) -> usize
pub fn kind(&self) -> DataKind
pub fn stride(&self) -> usize
pub fn offset(&self) -> usize
pub fn enable(&self) -> &Self
pub fn disable(&self) -> &Self
pub fn bind(&self) -> &Self
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GLVertex
impl Send for GLVertex
impl Sync for GLVertex
impl Unpin for GLVertex
impl UnwindSafe for GLVertex
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more