pub enum ShapeType {
Show 125 variants
Rectangle,
RoundedRectangle,
Ellipse,
Circle,
Triangle,
RightTriangle,
Diamond,
Pentagon,
Hexagon,
Octagon,
RightArrow,
LeftArrow,
UpArrow,
DownArrow,
LeftRightArrow,
UpDownArrow,
BentArrow,
UTurnArrow,
Star4,
Star5,
Star6,
Star8,
Ribbon,
Wave,
WedgeRectCallout,
WedgeEllipseCallout,
CloudCallout,
FlowChartProcess,
FlowChartDecision,
FlowChartTerminator,
FlowChartDocument,
FlowChartPredefinedProcess,
FlowChartInternalStorage,
FlowChartData,
FlowChartInputOutput,
FlowChartManualInput,
FlowChartManualOperation,
FlowChartConnector,
FlowChartOffPageConnector,
FlowChartPunchedCard,
FlowChartPunchedTape,
FlowChartSummingJunction,
FlowChartOr,
FlowChartCollate,
FlowChartSort,
FlowChartExtract,
FlowChartMerge,
FlowChartOnlineStorage,
FlowChartDelay,
FlowChartMagneticTape,
FlowChartMagneticDisk,
FlowChartMagneticDrum,
FlowChartDisplay,
FlowChartPreparation,
CurvedRightArrow,
CurvedLeftArrow,
CurvedUpArrow,
CurvedDownArrow,
CurvedLeftRightArrow,
CurvedUpDownArrow,
StripedRightArrow,
NotchedRightArrow,
PentagonArrow,
ChevronArrow,
RightArrowCallout,
LeftArrowCallout,
UpArrowCallout,
DownArrowCallout,
LeftRightArrowCallout,
UpDownArrowCallout,
QuadArrow,
LeftRightUpArrow,
CircularArrow,
Parallelogram,
Trapezoid,
NonIsoscelesTrapezoid,
IsoscelesTrapezoid,
Cube,
Can,
Cone,
Cylinder,
Bevel,
Donut,
NoSmoking,
BlockArc,
FoldedCorner,
SmileyFace,
Arc,
Chord,
Pie,
Teardrop,
Plaque,
MusicNote,
PictureFrame,
Star10,
Star12,
Star16,
Star24,
Star32,
Seal,
Seal4,
Seal8,
Seal16,
Seal32,
ActionButtonBlank,
ActionButtonHome,
ActionButtonHelp,
ActionButtonInformation,
ActionButtonForwardNext,
ActionButtonBackPrevious,
ActionButtonBeginning,
ActionButtonEnd,
ActionButtonReturn,
ActionButtonDocument,
ActionButtonSound,
ActionButtonMovie,
Heart,
Lightning,
Sun,
Moon,
Cloud,
Brace,
Bracket,
Plus,
Minus,
}Expand description
Shape types available in PPTX
Variants§
Rectangle
RoundedRectangle
Ellipse
Circle
Triangle
RightTriangle
Diamond
Pentagon
Hexagon
Octagon
RightArrow
LeftArrow
UpArrow
DownArrow
LeftRightArrow
UpDownArrow
BentArrow
UTurnArrow
Star4
Star5
Star6
Star8
Ribbon
Wave
WedgeRectCallout
WedgeEllipseCallout
CloudCallout
FlowChartProcess
FlowChartDecision
FlowChartTerminator
FlowChartDocument
FlowChartPredefinedProcess
FlowChartInternalStorage
FlowChartData
FlowChartInputOutput
FlowChartManualInput
FlowChartManualOperation
FlowChartConnector
FlowChartOffPageConnector
FlowChartPunchedCard
FlowChartPunchedTape
FlowChartSummingJunction
FlowChartOr
FlowChartCollate
FlowChartSort
FlowChartExtract
FlowChartMerge
FlowChartOnlineStorage
FlowChartDelay
FlowChartMagneticTape
FlowChartMagneticDisk
FlowChartMagneticDrum
FlowChartDisplay
FlowChartPreparation
CurvedRightArrow
CurvedLeftArrow
CurvedUpArrow
CurvedDownArrow
CurvedLeftRightArrow
CurvedUpDownArrow
StripedRightArrow
NotchedRightArrow
PentagonArrow
ChevronArrow
RightArrowCallout
LeftArrowCallout
UpArrowCallout
DownArrowCallout
LeftRightArrowCallout
UpDownArrowCallout
QuadArrow
LeftRightUpArrow
CircularArrow
Parallelogram
Trapezoid
NonIsoscelesTrapezoid
IsoscelesTrapezoid
Cube
Can
Cone
Cylinder
Bevel
Donut
NoSmoking
BlockArc
FoldedCorner
SmileyFace
Arc
Chord
Pie
Teardrop
Plaque
MusicNote
PictureFrame
Star10
Star12
Star16
Star24
Star32
Seal
Seal4
Seal8
Seal16
Seal32
ActionButtonBlank
ActionButtonHome
ActionButtonHelp
ActionButtonInformation
ActionButtonForwardNext
ActionButtonBackPrevious
ActionButtonBeginning
ActionButtonEnd
ActionButtonReturn
ActionButtonDocument
ActionButtonSound
ActionButtonMovie
Heart
Lightning
Sun
Moon
Cloud
Brace
Bracket
Plus
Minus
Implementations§
Source§impl ShapeType
impl ShapeType
Sourcepub fn preset_name(&self) -> &'static str
pub fn preset_name(&self) -> &'static str
Get the preset geometry name for the shape (OOXML preset name)
Sourcepub fn display_name(&self) -> &'static str
pub fn display_name(&self) -> &'static str
Get a user-friendly name for the shape
Trait Implementations§
impl Copy for ShapeType
impl StructuralPartialEq for ShapeType
Auto Trait Implementations§
impl Freeze for ShapeType
impl RefUnwindSafe for ShapeType
impl Send for ShapeType
impl Sync for ShapeType
impl Unpin for ShapeType
impl UnwindSafe for ShapeType
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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