Struct glow::native::NativeProgram
source · pub struct NativeProgram(pub NonZeroU32);
Tuple Fields§
§0: NonZeroU32
Trait Implementations§
source§impl Clone for NativeProgram
impl Clone for NativeProgram
source§fn clone(&self) -> NativeProgram
fn clone(&self) -> NativeProgram
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 NativeProgram
impl Debug for NativeProgram
source§impl Hash for NativeProgram
impl Hash for NativeProgram
source§impl Ord for NativeProgram
impl Ord for NativeProgram
source§fn cmp(&self, other: &NativeProgram) -> Ordering
fn cmp(&self, other: &NativeProgram) -> 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<NativeProgram> for NativeProgram
impl PartialEq<NativeProgram> for NativeProgram
source§fn eq(&self, other: &NativeProgram) -> bool
fn eq(&self, other: &NativeProgram) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<NativeProgram> for NativeProgram
impl PartialOrd<NativeProgram> for NativeProgram
source§fn partial_cmp(&self, other: &NativeProgram) -> Option<Ordering>
fn partial_cmp(&self, other: &NativeProgram) -> 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 more