pub struct ColorFormat(pub i64);
Tuple Fields§
§0: i64
Implementations§
Source§impl ColorFormat
impl ColorFormat
pub const NONE: ColorFormat
pub const _8BIT: ColorFormat
pub const FLOAT: ColorFormat
Trait Implementations§
Source§impl Clone for ColorFormat
impl Clone for ColorFormat
Source§fn clone(&self) -> ColorFormat
fn clone(&self) -> ColorFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ColorFormat
impl Debug for ColorFormat
Source§impl From<ColorFormat> for i64
impl From<ColorFormat> for i64
Source§fn from(v: ColorFormat) -> Self
fn from(v: ColorFormat) -> Self
Converts to this type from the input type.
Source§impl From<i64> for ColorFormat
impl From<i64> for ColorFormat
Source§impl FromVariant for ColorFormat
impl FromVariant for ColorFormat
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for ColorFormat
impl Hash for ColorFormat
Source§impl Ord for ColorFormat
impl Ord for ColorFormat
Source§fn cmp(&self, other: &ColorFormat) -> Ordering
fn cmp(&self, other: &ColorFormat) -> 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 ColorFormat
impl PartialEq for ColorFormat
Source§impl PartialOrd for ColorFormat
impl PartialOrd for ColorFormat
impl Copy for ColorFormat
impl Eq for ColorFormat
impl StructuralPartialEq for ColorFormat
Auto Trait Implementations§
impl Freeze for ColorFormat
impl RefUnwindSafe for ColorFormat
impl Send for ColorFormat
impl Sync for ColorFormat
impl Unpin for ColorFormat
impl UnwindSafe for ColorFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.