pub enum PresetPattern {
Show 54 variants
Percent5,
Percent10,
Percent20,
Percent25,
Percent30,
Percent40,
Percent50,
Percent60,
Percent70,
Percent75,
Percent80,
Percent90,
Horizontal,
Vertical,
LightHorizontal,
LightVertical,
DarkHorizontal,
DarkVertical,
NarrowHorizontal,
NarrowVertical,
DashedHorizontal,
DashedVertical,
Cross,
DiagonalDown,
DiagonalUp,
LightDiagonalDown,
LightDiagonalUp,
DarkDiagonalDown,
DarkDiagonalUp,
WideDiagonalDown,
WideDiagonalUp,
DashedDiagonalDown,
DashedDiagonalUp,
DiagonalCross,
SmallCheckerBoard,
LargeCheckerBoard,
SmallGrid,
LargeGrid,
DottedGrid,
SmallConfetti,
LargeConfetti,
HorizontalBrick,
DiagonalBrick,
SolidDiamond,
OpenDiamond,
DottedDiamond,
Plaid,
Sphere,
Weave,
Divot,
Shingle,
Wave,
Trellis,
ZigZag,
}Expand description
ST_PresetPatternVal’s full, finite set of 54 named patterns — unlike
PresetShape/Color::Preset, small enough to enumerate exhaustively (no Other escape
hatch needed).
Variants§
Percent5
Percent10
Percent20
Percent25
Percent30
Percent40
Percent50
Percent60
Percent70
Percent75
Percent80
Percent90
Horizontal
Vertical
LightHorizontal
LightVertical
DarkHorizontal
DarkVertical
NarrowHorizontal
NarrowVertical
DashedHorizontal
DashedVertical
Cross
DiagonalDown
DiagonalUp
LightDiagonalDown
LightDiagonalUp
DarkDiagonalDown
DarkDiagonalUp
WideDiagonalDown
WideDiagonalUp
DashedDiagonalDown
DashedDiagonalUp
DiagonalCross
SmallCheckerBoard
LargeCheckerBoard
SmallGrid
LargeGrid
DottedGrid
SmallConfetti
LargeConfetti
HorizontalBrick
DiagonalBrick
SolidDiamond
OpenDiamond
DottedDiamond
Plaid
Sphere
Weave
Divot
Shingle
Wave
Trellis
ZigZag
Trait Implementations§
Source§impl Clone for PresetPattern
impl Clone for PresetPattern
Source§fn clone(&self) -> PresetPattern
fn clone(&self) -> PresetPattern
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 PresetPattern
Source§impl Debug for PresetPattern
impl Debug for PresetPattern
impl Eq for PresetPattern
Source§impl PartialEq for PresetPattern
impl PartialEq for PresetPattern
impl StructuralPartialEq for PresetPattern
Auto Trait Implementations§
impl Freeze for PresetPattern
impl RefUnwindSafe for PresetPattern
impl Send for PresetPattern
impl Sync for PresetPattern
impl Unpin for PresetPattern
impl UnsafeUnpin for PresetPattern
impl UnwindSafe for PresetPattern
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.