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