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