pub enum PointType {
Circle,
FilledCircle,
FilledSquare,
FilledTriangle,
Plus,
Square,
Star,
Triangle,
X,
}
Expand description
Point type
Variants§
Trait Implementations§
Source§impl Set<PointType> for Properties
impl Set<PointType> for Properties
Source§fn set(&mut self, pt: PointType) -> &mut Properties
fn set(&mut self, pt: PointType) -> &mut Properties
Changes the point type
Source§impl Set<PointType> for Properties
impl Set<PointType> for Properties
Source§fn set(&mut self, pt: PointType) -> &mut Properties
fn set(&mut self, pt: PointType) -> &mut Properties
Changes the point type
impl Copy for PointType
Auto Trait Implementations§
impl Freeze for PointType
impl RefUnwindSafe for PointType
impl Send for PointType
impl Sync for PointType
impl Unpin for PointType
impl UnwindSafe for PointType
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 moreLayout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Circle
: 0 bytesFilledCircle
: 0 bytesFilledSquare
: 0 bytesFilledTriangle
: 0 bytesPlus
: 0 bytesSquare
: 0 bytesStar
: 0 bytesTriangle
: 0 bytesX
: 0 bytes