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