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