#[repr(C, u8)]pub enum OptionCss {
None,
Some(Css),
}Variants§
Implementations§
Source§impl OptionCss
impl OptionCss
pub fn as_option(&self) -> Option<&Css>
pub fn replace(&mut self, value: Css) -> OptionCss
pub fn is_some(&self) -> bool
pub fn is_none(&self) -> bool
pub const fn as_ref(&self) -> Option<&Css>
pub fn as_mut(&mut self) -> Option<&mut Css>
pub fn map<U, F: FnOnce(Css) -> U>(self, f: F) -> Option<U>
pub fn and_then<U, F>(self, f: F) -> Option<U>
Trait Implementations§
Source§impl PartialOrd for OptionCss
impl PartialOrd for OptionCss
impl StructuralPartialEq for OptionCss
Auto Trait Implementations§
impl Freeze for OptionCss
impl RefUnwindSafe for OptionCss
impl Send for OptionCss
impl Sync for OptionCss
impl Unpin for OptionCss
impl UnsafeUnpin for OptionCss
impl UnwindSafe for OptionCss
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