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