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