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