#[repr(C, u8)]pub enum OptionResolvedTextLayoutOptions {
None,
Some(ResolvedTextLayoutOptions),
}Variants§
None
Some(ResolvedTextLayoutOptions)
Implementations§
Source§impl OptionResolvedTextLayoutOptions
impl OptionResolvedTextLayoutOptions
pub fn into_option(&self) -> Option<ResolvedTextLayoutOptions>
Source§impl OptionResolvedTextLayoutOptions
impl OptionResolvedTextLayoutOptions
pub fn as_option(&self) -> Option<&ResolvedTextLayoutOptions>
pub fn replace( &mut self, value: ResolvedTextLayoutOptions, ) -> OptionResolvedTextLayoutOptions
pub fn is_some(&self) -> bool
pub fn is_none(&self) -> bool
pub const fn as_ref(&self) -> Option<&ResolvedTextLayoutOptions>
pub fn as_mut(&mut self) -> Option<&mut ResolvedTextLayoutOptions>
pub fn map<U, F: FnOnce(ResolvedTextLayoutOptions) -> U>( self, f: F, ) -> Option<U>
pub fn and_then<U, F>(self, f: F) -> Option<U>
Trait Implementations§
Source§impl Clone for OptionResolvedTextLayoutOptions
impl Clone for OptionResolvedTextLayoutOptions
Source§fn clone(&self) -> OptionResolvedTextLayoutOptions
fn clone(&self) -> OptionResolvedTextLayoutOptions
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 Default for OptionResolvedTextLayoutOptions
impl Default for OptionResolvedTextLayoutOptions
Source§fn default() -> OptionResolvedTextLayoutOptions
fn default() -> OptionResolvedTextLayoutOptions
Returns the “default value” for a type. Read more
Source§impl From<Option<ResolvedTextLayoutOptions>> for OptionResolvedTextLayoutOptions
impl From<Option<ResolvedTextLayoutOptions>> for OptionResolvedTextLayoutOptions
Source§fn from(o: Option<ResolvedTextLayoutOptions>) -> OptionResolvedTextLayoutOptions
fn from(o: Option<ResolvedTextLayoutOptions>) -> OptionResolvedTextLayoutOptions
Converts to this type from the input type.
Source§impl From<OptionResolvedTextLayoutOptions> for Option<ResolvedTextLayoutOptions>
impl From<OptionResolvedTextLayoutOptions> for Option<ResolvedTextLayoutOptions>
Source§fn from(o: OptionResolvedTextLayoutOptions) -> Option<ResolvedTextLayoutOptions>
fn from(o: OptionResolvedTextLayoutOptions) -> Option<ResolvedTextLayoutOptions>
Converts to this type from the input type.
Source§impl PartialEq for OptionResolvedTextLayoutOptions
impl PartialEq for OptionResolvedTextLayoutOptions
Source§fn eq(&self, other: &OptionResolvedTextLayoutOptions) -> bool
fn eq(&self, other: &OptionResolvedTextLayoutOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OptionResolvedTextLayoutOptions
impl PartialOrd for OptionResolvedTextLayoutOptions
impl StructuralPartialEq for OptionResolvedTextLayoutOptions
Auto Trait Implementations§
impl Freeze for OptionResolvedTextLayoutOptions
impl RefUnwindSafe for OptionResolvedTextLayoutOptions
impl Send for OptionResolvedTextLayoutOptions
impl Sync for OptionResolvedTextLayoutOptions
impl Unpin for OptionResolvedTextLayoutOptions
impl UnwindSafe for OptionResolvedTextLayoutOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more