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