Struct khronos_egl::egl1_2::ClientBuffer
source · pub struct ClientBuffer(EGLClientBuffer);
Tuple Fields§
§0: EGLClientBuffer
Implementations§
source§impl ClientBuffer
impl ClientBuffer
sourcepub unsafe fn from_ptr(ptr: EGLClientBuffer) -> ClientBuffer
pub unsafe fn from_ptr(ptr: EGLClientBuffer) -> ClientBuffer
Creates a new client buffer form its EGL pointer.
§Safety
ptr
must be a valid EGLClientBuffer
pointer.
pub fn as_ptr(&self) -> EGLClientBuffer
Trait Implementations§
source§impl Clone for ClientBuffer
impl Clone for ClientBuffer
source§fn clone(&self) -> ClientBuffer
fn clone(&self) -> ClientBuffer
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 ClientBuffer
impl Debug for ClientBuffer
source§impl Hash for ClientBuffer
impl Hash for ClientBuffer
source§impl PartialEq for ClientBuffer
impl PartialEq for ClientBuffer
source§fn eq(&self, other: &ClientBuffer) -> bool
fn eq(&self, other: &ClientBuffer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ClientBuffer
impl Eq for ClientBuffer
impl StructuralPartialEq for ClientBuffer
Auto Trait Implementations§
impl Freeze for ClientBuffer
impl RefUnwindSafe for ClientBuffer
impl !Send for ClientBuffer
impl !Sync for ClientBuffer
impl Unpin for ClientBuffer
impl UnwindSafe for ClientBuffer
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