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