#[repr(C, u8)]pub enum OptionNumberInputOnValueChange {
None,
Some(NumberInputOnValueChange),
}Variants§
None
Some(NumberInputOnValueChange)
Implementations§
Source§impl OptionNumberInputOnValueChange
impl OptionNumberInputOnValueChange
pub fn into_option(&self) -> Option<NumberInputOnValueChange>
Source§impl OptionNumberInputOnValueChange
impl OptionNumberInputOnValueChange
pub fn as_option(&self) -> Option<&NumberInputOnValueChange>
pub fn replace( &mut self, value: NumberInputOnValueChange, ) -> OptionNumberInputOnValueChange
pub fn is_some(&self) -> bool
pub fn is_none(&self) -> bool
pub const fn as_ref(&self) -> Option<&NumberInputOnValueChange>
pub fn as_mut(&mut self) -> Option<&mut NumberInputOnValueChange>
pub fn map<U, F: FnOnce(NumberInputOnValueChange) -> U>(self, f: F) -> Option<U>
pub fn and_then<U, F>(self, f: F) -> Option<U>
Trait Implementations§
Source§impl Clone for OptionNumberInputOnValueChange
impl Clone for OptionNumberInputOnValueChange
Source§fn clone(&self) -> OptionNumberInputOnValueChange
fn clone(&self) -> OptionNumberInputOnValueChange
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 OptionNumberInputOnValueChange
impl Default for OptionNumberInputOnValueChange
Source§fn default() -> OptionNumberInputOnValueChange
fn default() -> OptionNumberInputOnValueChange
Returns the “default value” for a type. Read more
Source§impl From<Option<NumberInputOnValueChange>> for OptionNumberInputOnValueChange
impl From<Option<NumberInputOnValueChange>> for OptionNumberInputOnValueChange
Source§fn from(o: Option<NumberInputOnValueChange>) -> OptionNumberInputOnValueChange
fn from(o: Option<NumberInputOnValueChange>) -> OptionNumberInputOnValueChange
Converts to this type from the input type.
Source§impl From<OptionNumberInputOnValueChange> for Option<NumberInputOnValueChange>
impl From<OptionNumberInputOnValueChange> for Option<NumberInputOnValueChange>
Source§fn from(o: OptionNumberInputOnValueChange) -> Option<NumberInputOnValueChange>
fn from(o: OptionNumberInputOnValueChange) -> Option<NumberInputOnValueChange>
Converts to this type from the input type.
Source§impl Ord for OptionNumberInputOnValueChange
impl Ord for OptionNumberInputOnValueChange
Source§fn cmp(&self, other: &OptionNumberInputOnValueChange) -> Ordering
fn cmp(&self, other: &OptionNumberInputOnValueChange) -> 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 OptionNumberInputOnValueChange
impl PartialEq for OptionNumberInputOnValueChange
Source§fn eq(&self, other: &OptionNumberInputOnValueChange) -> bool
fn eq(&self, other: &OptionNumberInputOnValueChange) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OptionNumberInputOnValueChange
impl PartialOrd for OptionNumberInputOnValueChange
impl Eq for OptionNumberInputOnValueChange
impl StructuralPartialEq for OptionNumberInputOnValueChange
Auto Trait Implementations§
impl Freeze for OptionNumberInputOnValueChange
impl RefUnwindSafe for OptionNumberInputOnValueChange
impl Send for OptionNumberInputOnValueChange
impl Sync for OptionNumberInputOnValueChange
impl Unpin for OptionNumberInputOnValueChange
impl UnwindSafe for OptionNumberInputOnValueChange
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