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