Struct glow::native::NativeTexture
source · pub struct NativeTexture(pub NonZeroU32);
Tuple Fields§
§0: NonZeroU32
Trait Implementations§
source§impl Clone for NativeTexture
impl Clone for NativeTexture
source§fn clone(&self) -> NativeTexture
fn clone(&self) -> NativeTexture
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 NativeTexture
impl Debug for NativeTexture
source§impl Hash for NativeTexture
impl Hash for NativeTexture
source§impl Ord for NativeTexture
impl Ord for NativeTexture
source§fn cmp(&self, other: &NativeTexture) -> Ordering
fn cmp(&self, other: &NativeTexture) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for NativeTexture
impl PartialEq for NativeTexture
source§fn eq(&self, other: &NativeTexture) -> bool
fn eq(&self, other: &NativeTexture) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NativeTexture
impl PartialOrd for NativeTexture
source§fn partial_cmp(&self, other: &NativeTexture) -> Option<Ordering>
fn partial_cmp(&self, other: &NativeTexture) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for NativeTexture
impl Eq for NativeTexture
impl StructuralPartialEq for NativeTexture
Auto Trait Implementations§
impl Freeze for NativeTexture
impl RefUnwindSafe for NativeTexture
impl Send for NativeTexture
impl Sync for NativeTexture
impl Unpin for NativeTexture
impl UnwindSafe for NativeTexture
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