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