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