pub enum AreaOrLineSymbol {
Area(Box<AreaSymbol>),
Line(Box<LineSymbol>),
}Expand description
An area or line symbol used in private parts of area combined symbols
Variants§
Trait Implementations§
Source§impl Clone for AreaOrLineSymbol
impl Clone for AreaOrLineSymbol
Source§fn clone(&self) -> AreaOrLineSymbol
fn clone(&self) -> AreaOrLineSymbol
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 AreaOrLineSymbol
impl Debug for AreaOrLineSymbol
Source§impl From<AreaSymbol> for AreaOrLineSymbol
impl From<AreaSymbol> for AreaOrLineSymbol
Source§fn from(value: AreaSymbol) -> Self
fn from(value: AreaSymbol) -> Self
Converts to this type from the input type.
Source§impl From<Box<AreaSymbol>> for AreaOrLineSymbol
impl From<Box<AreaSymbol>> for AreaOrLineSymbol
Source§fn from(value: Box<AreaSymbol>) -> Self
fn from(value: Box<AreaSymbol>) -> Self
Converts to this type from the input type.
Source§impl From<Box<LineSymbol>> for AreaOrLineSymbol
impl From<Box<LineSymbol>> for AreaOrLineSymbol
Source§fn from(value: Box<LineSymbol>) -> Self
fn from(value: Box<LineSymbol>) -> Self
Converts to this type from the input type.
Source§impl From<LineSymbol> for AreaOrLineSymbol
impl From<LineSymbol> for AreaOrLineSymbol
Source§fn from(value: LineSymbol) -> Self
fn from(value: LineSymbol) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for AreaOrLineSymbol
impl !Send for AreaOrLineSymbol
impl !Sync for AreaOrLineSymbol
impl !UnwindSafe for AreaOrLineSymbol
impl Freeze for AreaOrLineSymbol
impl Unpin for AreaOrLineSymbol
impl UnsafeUnpin for AreaOrLineSymbol
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