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