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