pub struct ClientBuffer(/* private fields */);
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
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