#[repr(C)]pub struct GLintVecSlice {
pub ptr: *const GLint,
pub len: usize,
}Expand description
C-compatible slice type for $struct_name.
This is a non-owning view into a Vec’s data.
Fields§
§ptr: *const GLint§len: usizeImplementations§
Trait Implementations§
Source§impl Clone for GLintVecSlice
impl Clone for GLintVecSlice
Source§fn clone(&self) -> GLintVecSlice
fn clone(&self) -> GLintVecSlice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GLintVecSlice
Source§impl Debug for GLintVecSlice
impl Debug for GLintVecSlice
Source§impl<'a> IntoIterator for &'a GLintVecSlice
impl<'a> IntoIterator for &'a GLintVecSlice
impl Send for GLintVecSlice
impl Sync for GLintVecSlice
Auto Trait Implementations§
impl Freeze for GLintVecSlice
impl RefUnwindSafe for GLintVecSlice
impl Unpin for GLintVecSlice
impl UnsafeUnpin for GLintVecSlice
impl UnwindSafe for GLintVecSlice
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