#[repr(C, u8)]pub enum OptionSvgDashPattern {
None,
Some(SvgDashPattern),
}
Variants§
None
Some(SvgDashPattern)
Implementations§
Source§impl OptionSvgDashPattern
impl OptionSvgDashPattern
pub fn into_option(&self) -> Option<SvgDashPattern>
Source§impl OptionSvgDashPattern
impl OptionSvgDashPattern
pub fn as_option(&self) -> Option<&SvgDashPattern>
pub fn replace(&mut self, value: SvgDashPattern) -> OptionSvgDashPattern
pub fn is_some(&self) -> bool
pub fn is_none(&self) -> bool
pub const fn as_ref(&self) -> Option<&SvgDashPattern>
pub fn as_mut(&mut self) -> Option<&mut SvgDashPattern>
pub fn map<U, F>(self, f: F) -> Option<U>where
F: FnOnce(SvgDashPattern) -> U,
pub fn and_then<U, F>(self, f: F) -> Option<U>
Trait Implementations§
Source§impl Clone for OptionSvgDashPattern
impl Clone for OptionSvgDashPattern
Source§fn clone(&self) -> OptionSvgDashPattern
fn clone(&self) -> OptionSvgDashPattern
Returns a copy 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 Debug for OptionSvgDashPattern
impl Debug for OptionSvgDashPattern
Source§impl Default for OptionSvgDashPattern
impl Default for OptionSvgDashPattern
Source§fn default() -> OptionSvgDashPattern
fn default() -> OptionSvgDashPattern
Returns the “default value” for a type. Read more
Source§impl From<Option<SvgDashPattern>> for OptionSvgDashPattern
impl From<Option<SvgDashPattern>> for OptionSvgDashPattern
Source§fn from(o: Option<SvgDashPattern>) -> OptionSvgDashPattern
fn from(o: Option<SvgDashPattern>) -> OptionSvgDashPattern
Converts to this type from the input type.
Source§impl PartialEq for OptionSvgDashPattern
impl PartialEq for OptionSvgDashPattern
Source§impl PartialOrd for OptionSvgDashPattern
impl PartialOrd for OptionSvgDashPattern
impl Copy for OptionSvgDashPattern
impl StructuralPartialEq for OptionSvgDashPattern
Auto Trait Implementations§
impl Freeze for OptionSvgDashPattern
impl RefUnwindSafe for OptionSvgDashPattern
impl Send for OptionSvgDashPattern
impl Sync for OptionSvgDashPattern
impl Unpin for OptionSvgDashPattern
impl UnwindSafe for OptionSvgDashPattern
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 moreSource§impl<T> IsDefault for T
impl<T> IsDefault for T
Source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.