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