pub struct TextureChannel(pub i64);
Tuple Fields§
§0: i64
Implementations§
source§impl TextureChannel
impl TextureChannel
pub const RED: TextureChannel = _
pub const GREEN: TextureChannel = _
pub const BLUE: TextureChannel = _
pub const ALPHA: TextureChannel = _
pub const GRAYSCALE: TextureChannel = _
Trait Implementations§
source§impl Clone for TextureChannel
impl Clone for TextureChannel
source§fn clone(&self) -> TextureChannel
fn clone(&self) -> TextureChannel
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 TextureChannel
impl Debug for TextureChannel
source§impl From<TextureChannel> for i64
impl From<TextureChannel> for i64
source§fn from(v: TextureChannel) -> Self
fn from(v: TextureChannel) -> Self
Converts to this type from the input type.
source§impl From<i64> for TextureChannel
impl From<i64> for TextureChannel
source§impl FromVariant for TextureChannel
impl FromVariant for TextureChannel
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
source§impl Hash for TextureChannel
impl Hash for TextureChannel
source§impl Ord for TextureChannel
impl Ord for TextureChannel
source§fn cmp(&self, other: &TextureChannel) -> Ordering
fn cmp(&self, other: &TextureChannel) -> 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<TextureChannel> for TextureChannel
impl PartialEq<TextureChannel> for TextureChannel
source§fn eq(&self, other: &TextureChannel) -> bool
fn eq(&self, other: &TextureChannel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TextureChannel> for TextureChannel
impl PartialOrd<TextureChannel> for TextureChannel
source§fn partial_cmp(&self, other: &TextureChannel) -> Option<Ordering>
fn partial_cmp(&self, other: &TextureChannel) -> 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 TextureChannel
impl Eq for TextureChannel
impl StructuralEq for TextureChannel
impl StructuralPartialEq for TextureChannel
Auto Trait Implementations§
impl RefUnwindSafe for TextureChannel
impl Send for TextureChannel
impl Sync for TextureChannel
impl Unpin for TextureChannel
impl UnwindSafe for TextureChannel
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.