#[repr(C, u8)]pub enum OptionColorInputOnValueChange {
None,
Some(ColorInputOnValueChange),
}Variants§
None
Some(ColorInputOnValueChange)
Implementations§
Source§impl OptionColorInputOnValueChange
impl OptionColorInputOnValueChange
pub fn into_option(&self) -> Option<ColorInputOnValueChange>
Source§impl OptionColorInputOnValueChange
impl OptionColorInputOnValueChange
pub fn as_option(&self) -> Option<&ColorInputOnValueChange>
pub fn replace( &mut self, value: ColorInputOnValueChange, ) -> OptionColorInputOnValueChange
pub fn is_some(&self) -> bool
pub fn is_none(&self) -> bool
pub const fn as_ref(&self) -> Option<&ColorInputOnValueChange>
pub fn as_mut(&mut self) -> Option<&mut ColorInputOnValueChange>
pub fn map<U, F: FnOnce(ColorInputOnValueChange) -> U>(self, f: F) -> Option<U>
pub fn and_then<U, F>(self, f: F) -> Option<U>
Trait Implementations§
Source§impl Clone for OptionColorInputOnValueChange
impl Clone for OptionColorInputOnValueChange
Source§fn clone(&self) -> OptionColorInputOnValueChange
fn clone(&self) -> OptionColorInputOnValueChange
Returns a duplicate 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 Default for OptionColorInputOnValueChange
impl Default for OptionColorInputOnValueChange
Source§fn default() -> OptionColorInputOnValueChange
fn default() -> OptionColorInputOnValueChange
Returns the “default value” for a type. Read more
Source§impl From<Option<ColorInputOnValueChange>> for OptionColorInputOnValueChange
impl From<Option<ColorInputOnValueChange>> for OptionColorInputOnValueChange
Source§fn from(o: Option<ColorInputOnValueChange>) -> OptionColorInputOnValueChange
fn from(o: Option<ColorInputOnValueChange>) -> OptionColorInputOnValueChange
Converts to this type from the input type.
Source§impl From<OptionColorInputOnValueChange> for Option<ColorInputOnValueChange>
impl From<OptionColorInputOnValueChange> for Option<ColorInputOnValueChange>
Source§fn from(o: OptionColorInputOnValueChange) -> Option<ColorInputOnValueChange>
fn from(o: OptionColorInputOnValueChange) -> Option<ColorInputOnValueChange>
Converts to this type from the input type.
Source§impl Hash for OptionColorInputOnValueChange
impl Hash for OptionColorInputOnValueChange
Source§impl Ord for OptionColorInputOnValueChange
impl Ord for OptionColorInputOnValueChange
Source§fn cmp(&self, other: &OptionColorInputOnValueChange) -> Ordering
fn cmp(&self, other: &OptionColorInputOnValueChange) -> 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 OptionColorInputOnValueChange
impl PartialEq for OptionColorInputOnValueChange
Source§fn eq(&self, other: &OptionColorInputOnValueChange) -> bool
fn eq(&self, other: &OptionColorInputOnValueChange) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OptionColorInputOnValueChange
impl PartialOrd for OptionColorInputOnValueChange
impl Eq for OptionColorInputOnValueChange
impl StructuralPartialEq for OptionColorInputOnValueChange
Auto Trait Implementations§
impl Freeze for OptionColorInputOnValueChange
impl RefUnwindSafe for OptionColorInputOnValueChange
impl Send for OptionColorInputOnValueChange
impl Sync for OptionColorInputOnValueChange
impl Unpin for OptionColorInputOnValueChange
impl UnwindSafe for OptionColorInputOnValueChange
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more