#[repr(u8)]pub enum Glyph {
Show 256 variants
Null = 0,
SmilingFace = 1,
SmilingFaceInverse = 2,
Heart = 3,
Diamond = 4,
Club = 5,
Spade = 6,
Bullet = 7,
BulletInverse = 8,
Circle = 9,
CircleInverse = 10,
Male = 11,
Female = 12,
EighthNote = 13,
BeamedEighthNotes = 14,
SunWithRays = 15,
TriangleRight = 16,
TriangleLeft = 17,
ArrowUpDown = 18,
ExclamationDouble = 19,
Pilcrow = 20,
SectionSign = 21,
BlackRectangle = 22,
ArrowUpDownWithBase = 23,
ArrowUp = 24,
ArrowDown = 25,
ArrowRight = 26,
ArrowLeft = 27,
AngleRight = 28,
ArrowLeftRight = 29,
TriangleUp = 30,
TriangleDown = 31,
Space = 32,
Exclamation = 33,
DoubleQuote = 34,
NumberSign = 35,
Dollar = 36,
Percent = 37,
Ampersand = 38,
Apostrophe = 39,
ParenthesisLeft = 40,
ParenthesisRight = 41,
Asterisk = 42,
Plus = 43,
Comma = 44,
Minus = 45,
Period = 46,
Slash = 47,
Zero = 48,
One = 49,
Two = 50,
Three = 51,
Four = 52,
Five = 53,
Six = 54,
Seven = 55,
Eight = 56,
Nine = 57,
Colon = 58,
Semicolon = 59,
LessThan = 60,
Equals = 61,
GreaterThan = 62,
QuestionMark = 63,
AtSymbol = 64,
AUpper = 65,
BUpper = 66,
CUpper = 67,
DUpper = 68,
EUpper = 69,
FUpper = 70,
GUpper = 71,
HUpper = 72,
IUpper = 73,
JUpper = 74,
KUpper = 75,
LUpper = 76,
MUpper = 77,
NUpper = 78,
OUpper = 79,
PUpper = 80,
QUpper = 81,
RUpper = 82,
SUpper = 83,
TUpper = 84,
UUpper = 85,
VUpper = 86,
WUpper = 87,
XUpper = 88,
YUpper = 89,
ZUpper = 90,
SquareBracketLeft = 91,
Backslash = 92,
SquareBracketRight = 93,
Caret = 94,
Underscore = 95,
GraveAccent = 96,
ALower = 97,
BLower = 98,
CLower = 99,
DLower = 100,
ELower = 101,
FLower = 102,
GLower = 103,
HLower = 104,
ILower = 105,
JLower = 106,
KLower = 107,
LLower = 108,
MLower = 109,
NLower = 110,
OLower = 111,
PLower = 112,
QLower = 113,
RLower = 114,
SLower = 115,
TLower = 116,
ULower = 117,
VLower = 118,
WLower = 119,
XLower = 120,
YLower = 121,
ZLower = 122,
CurlyBraceLeft = 123,
Pipe = 124,
CurlyBraceRight = 125,
Tilde = 126,
House = 127,
LatinCUpperWithCedilla = 128,
LatinULowerWithDiaeresis = 129,
LatinELowerWithAcute = 130,
LatinALowerWithCircumflex = 131,
LatinALowerWithDiaeresis = 132,
LatinALowerWithGrave = 133,
LatinALowerWithRingAbove = 134,
LatinCLowerWithCedilla = 135,
LatinELowerWithCircumflex = 136,
LatinELowerWithDiaeresis = 137,
LatinELowerWithGrave = 138,
LatinILowerWithDiaeresis = 139,
LatinILowerWithCircumflex = 140,
LatinILowerWithGrave = 141,
LatinAUpperWithDiaeresis = 142,
LatinAUpperWithRingAbove = 143,
LatinEUpperWithAcute = 144,
LatinAELower = 145,
LatinAEUpper = 146,
LatinOLowerWithCircumflex = 147,
LatinOLowerWithDiaeresis = 148,
LatinOLowerWithGrave = 149,
LatinULowerWithCircumflex = 150,
LatinULowerWithGrave = 151,
LatinYLowerWithDiaeresis = 152,
LatinOUpperWithDiaeresis = 153,
LatinUUpperWithDiaeresis = 154,
Cent = 155,
Pound = 156,
Yen = 157,
Peseta = 158,
LatinFLowerWithHook = 159,
LatinALowerWithAcute = 160,
LatinILowerWithAcute = 161,
LatinOLowerWithAcute = 162,
LatinULowerWithAcute = 163,
LatinNLowerWithTilde = 164,
LatinNUpperWithTilde = 165,
OrdinalFeminine = 166,
OrdinalMasculine = 167,
QuestionMarkFlipped = 168,
NotSignFlipped = 169,
NotSign = 170,
FractionHalf = 171,
FractionQuarter = 172,
ExclamationFlipped = 173,
AngleBracketLeftDouble = 174,
AngleBracketRightDouble = 175,
ShadeLight = 176,
ShadeMedium = 177,
ShadeDark = 178,
BoxVerticalSingle = 179,
BoxVerticalSingleAndLeftSingle = 180,
BoxVerticalSingleAndLeftDouble = 181,
BoxVerticalDoubleAndLeftSingle = 182,
BoxDownDoubleAndLeftSingle = 183,
BoxDownSingleAndLeftDouble = 184,
BoxVerticalDoubleAndLeftDouble = 185,
BoxVerticalDouble = 186,
BoxDownDoubleAndLeftDouble = 187,
BoxUpDoubleAndLeftDouble = 188,
BoxUpDoubleAndLeftSingle = 189,
BoxUpSingleAndLeftDouble = 190,
BoxDownSingleAndLeftSingle = 191,
BoxUpSingleAndRightSingle = 192,
BoxUpSingleAndHorizontalSingle = 193,
BoxDownSingleAndHorizontalSingle = 194,
BoxVerticalSingleAndRightSingle = 195,
BoxHorizontalSingle = 196,
BoxVerticalSingleAndHorizontalSingle = 197,
BoxVerticalSingleAndRightDouble = 198,
BoxVerticalDoubleAndRightSingle = 199,
BoxUpDoubleAndRightDouble = 200,
BoxDownDoubleAndRightDouble = 201,
BoxUpDoubleAndHorizontalDouble = 202,
BoxHorizontalDoubleAndDownDouble = 203,
BoxVerticalDoubleAndRightDouble = 204,
BoxHorizontalDouble = 205,
BoxVerticalDoubleAndHorizontalDouble = 206,
BoxUpSingleAndHorizontalDouble = 207,
BoxUpDoubleAndHorizontalSingle = 208,
BoxDownSingleAndHorizontalDouble = 209,
BoxDownDoubleAndHorizontalSingle = 210,
BoxUpDoubleAndRightSingle = 211,
BoxUpSingleAndRightDouble = 212,
BoxDownSingleAndRightDouble = 213,
BoxDownDoubleAndRightSingle = 214,
BoxVerticalDoubleAndHorizontalSingle = 215,
BoxVerticalSingleAndHorizontalDouble = 216,
BoxUpSingleAndLeftSingle = 217,
BoxDownSingleAndRightSingle = 218,
BlockFull = 219,
BlockLowerHalf = 220,
BlockLeftHalf = 221,
BlockRightHalf = 222,
BlockUpperHalf = 223,
GreekAlphaLower = 224,
LatinSharpSLower = 225,
GreekGammaUpper = 226,
GreekPiLower = 227,
GreekSigmaUpper = 228,
GreekSigmaLower = 229,
MicroSign = 230,
GreekTauLower = 231,
GreekPhiUpper = 232,
GreekThetaUpper = 233,
GreekOmegaUpper = 234,
GreekDeltaLower = 235,
Infinity = 236,
GreekPhiLower = 237,
GreekEpsilonLower = 238,
Intersection = 239,
IdenticalTo = 240,
PlusMinus = 241,
GreaterThanOrEqualTo = 242,
LessThanOrEqualTo = 243,
TopHalfIntegral = 244,
BottomHalfIntegral = 245,
Division = 246,
AlmostEqualTo = 247,
DegreeSign = 248,
BulletOperator = 249,
MiddleDot = 250,
SquareRoot = 251,
SuperscriptLatinSmallN = 252,
SuperscriptTwo = 253,
SquareSmall = 254,
SquareSmallEmpty = 255,
}Expand description
An ascii glyph that can be drawn to a terminal.
Can be converted directly into a char.
Variants§
Null = 0
‘\0’ (c string terminator)
SmilingFace = 1
☺
SmilingFaceInverse = 2
☻
Heart = 3
♥
Diamond = 4
♦
Club = 5
♣
Spade = 6
♠
Bullet = 7
•
BulletInverse = 8
◘
Circle = 9
○
CircleInverse = 10
◙
Male = 11
♂
Female = 12
♀
EighthNote = 13
♪
BeamedEighthNotes = 14
♫
SunWithRays = 15
☼
TriangleRight = 16
►
TriangleLeft = 17
◄
ArrowUpDown = 18
↕
ExclamationDouble = 19
‼
Pilcrow = 20
¶
SectionSign = 21
§
BlackRectangle = 22
▬
ArrowUpDownWithBase = 23
↨
ArrowUp = 24
↑
ArrowDown = 25
↓
ArrowRight = 26
→
ArrowLeft = 27
←
AngleRight = 28
∟
ArrowLeftRight = 29
↔
TriangleUp = 30
▲
TriangleDown = 31
▼
Space = 32
’ ’
Exclamation = 33
!
DoubleQuote = 34
“
NumberSign = 35
Dollar = 36
$
Percent = 37
%
Ampersand = 38
&
Apostrophe = 39
’
ParenthesisLeft = 40
(
ParenthesisRight = 41
)
Asterisk = 42
Plus = 43
Comma = 44
,
Minus = 45
Period = 46
.
Slash = 47
/
Zero = 48
0
One = 49
1
Two = 50
2
Three = 51
3
Four = 52
4
Five = 53
5
Six = 54
6
Seven = 55
7
Eight = 56
8
Nine = 57
9
Colon = 58
:
Semicolon = 59
;
LessThan = 60
<
Equals = 61
=
GreaterThan = 62
QuestionMark = 63
?
AtSymbol = 64
@
AUpper = 65
A
BUpper = 66
B
CUpper = 67
C
DUpper = 68
D
EUpper = 69
E
FUpper = 70
F
GUpper = 71
G
HUpper = 72
H
IUpper = 73
I
JUpper = 74
J
KUpper = 75
K
LUpper = 76
L
MUpper = 77
M
NUpper = 78
N
OUpper = 79
O
PUpper = 80
P
QUpper = 81
Q
RUpper = 82
R
SUpper = 83
S
TUpper = 84
T
UUpper = 85
U
VUpper = 86
V
WUpper = 87
W
XUpper = 88
X
YUpper = 89
Y
ZUpper = 90
Z
SquareBracketLeft = 91
[
Backslash = 92
\
SquareBracketRight = 93
]
Caret = 94
^
Underscore = 95
_
GraveAccent = 96
`
ALower = 97
a
BLower = 98
b
CLower = 99
c
DLower = 100
d
ELower = 101
e
FLower = 102
f
GLower = 103
g
HLower = 104
h
ILower = 105
i
JLower = 106
j
KLower = 107
k
LLower = 108
l
MLower = 109
m
NLower = 110
n
OLower = 111
o
PLower = 112
p
QLower = 113
q
RLower = 114
r
SLower = 115
s
TLower = 116
t
ULower = 117
u
VLower = 118
v
WLower = 119
w
XLower = 120
x
YLower = 121
y
ZLower = 122
z
CurlyBraceLeft = 123
{
Pipe = 124
|
CurlyBraceRight = 125
}
Tilde = 126
~
House = 127
⌂
LatinCUpperWithCedilla = 128
Ç
LatinULowerWithDiaeresis = 129
ü
LatinELowerWithAcute = 130
é
LatinALowerWithCircumflex = 131
â
LatinALowerWithDiaeresis = 132
ä
LatinALowerWithGrave = 133
à
LatinALowerWithRingAbove = 134
å
LatinCLowerWithCedilla = 135
ç
LatinELowerWithCircumflex = 136
ê
LatinELowerWithDiaeresis = 137
ë
LatinELowerWithGrave = 138
è
LatinILowerWithDiaeresis = 139
ï
LatinILowerWithCircumflex = 140
î
LatinILowerWithGrave = 141
ì
LatinAUpperWithDiaeresis = 142
Ä
LatinAUpperWithRingAbove = 143
Å
LatinEUpperWithAcute = 144
É
LatinAELower = 145
æ
LatinAEUpper = 146
Æ
LatinOLowerWithCircumflex = 147
ô
LatinOLowerWithDiaeresis = 148
ö
LatinOLowerWithGrave = 149
ò
LatinULowerWithCircumflex = 150
û
LatinULowerWithGrave = 151
ù
LatinYLowerWithDiaeresis = 152
ÿ
LatinOUpperWithDiaeresis = 153
Ö
LatinUUpperWithDiaeresis = 154
Ü
Cent = 155
¢
Pound = 156
£
Yen = 157
¥
Peseta = 158
₧
LatinFLowerWithHook = 159
ƒ
LatinALowerWithAcute = 160
á
LatinILowerWithAcute = 161
í
LatinOLowerWithAcute = 162
ó
LatinULowerWithAcute = 163
ú
LatinNLowerWithTilde = 164
ñ
LatinNUpperWithTilde = 165
Ñ
OrdinalFeminine = 166
ª
OrdinalMasculine = 167
º
QuestionMarkFlipped = 168
¿
NotSignFlipped = 169
⌐
NotSign = 170
¬
FractionHalf = 171
½
FractionQuarter = 172
¼
ExclamationFlipped = 173
¡
AngleBracketLeftDouble = 174
«
AngleBracketRightDouble = 175
»
ShadeLight = 176
░
ShadeMedium = 177
▒
ShadeDark = 178
▓
BoxVerticalSingle = 179
│
BoxVerticalSingleAndLeftSingle = 180
┤
BoxVerticalSingleAndLeftDouble = 181
╡
BoxVerticalDoubleAndLeftSingle = 182
╢
BoxDownDoubleAndLeftSingle = 183
╖
BoxDownSingleAndLeftDouble = 184
╕
BoxVerticalDoubleAndLeftDouble = 185
╣
BoxVerticalDouble = 186
║
BoxDownDoubleAndLeftDouble = 187
╗
BoxUpDoubleAndLeftDouble = 188
╝
BoxUpDoubleAndLeftSingle = 189
╜
BoxUpSingleAndLeftDouble = 190
╛
BoxDownSingleAndLeftSingle = 191
┐
BoxUpSingleAndRightSingle = 192
└
BoxUpSingleAndHorizontalSingle = 193
┴
BoxDownSingleAndHorizontalSingle = 194
┬
BoxVerticalSingleAndRightSingle = 195
├
BoxHorizontalSingle = 196
─
BoxVerticalSingleAndHorizontalSingle = 197
┼
BoxVerticalSingleAndRightDouble = 198
╞
BoxVerticalDoubleAndRightSingle = 199
╟
BoxUpDoubleAndRightDouble = 200
╚
BoxDownDoubleAndRightDouble = 201
╔
BoxUpDoubleAndHorizontalDouble = 202
╩
BoxHorizontalDoubleAndDownDouble = 203
╦
BoxVerticalDoubleAndRightDouble = 204
╠
BoxHorizontalDouble = 205
═
BoxVerticalDoubleAndHorizontalDouble = 206
╬
BoxUpSingleAndHorizontalDouble = 207
╧
BoxUpDoubleAndHorizontalSingle = 208
╨
BoxDownSingleAndHorizontalDouble = 209
╤
BoxDownDoubleAndHorizontalSingle = 210
╥
BoxUpDoubleAndRightSingle = 211
╙
BoxUpSingleAndRightDouble = 212
╘
BoxDownSingleAndRightDouble = 213
╒
BoxDownDoubleAndRightSingle = 214
╓
BoxVerticalDoubleAndHorizontalSingle = 215
╫
BoxVerticalSingleAndHorizontalDouble = 216
╪
BoxUpSingleAndLeftSingle = 217
┘
BoxDownSingleAndRightSingle = 218
┌
BlockFull = 219
█
BlockLowerHalf = 220
▄
BlockLeftHalf = 221
▌
BlockRightHalf = 222
▐
BlockUpperHalf = 223
▀
GreekAlphaLower = 224
α
LatinSharpSLower = 225
ß
GreekGammaUpper = 226
Γ
GreekPiLower = 227
π
GreekSigmaUpper = 228
Σ
GreekSigmaLower = 229
σ
MicroSign = 230
µ
GreekTauLower = 231
τ
GreekPhiUpper = 232
Φ
GreekThetaUpper = 233
Θ
GreekOmegaUpper = 234
Ω
GreekDeltaLower = 235
δ
Infinity = 236
∞
GreekPhiLower = 237
φ
GreekEpsilonLower = 238
ε
Intersection = 239
∩
IdenticalTo = 240
≡
PlusMinus = 241
±
GreaterThanOrEqualTo = 242
≥
LessThanOrEqualTo = 243
≤
TopHalfIntegral = 244
⌠
BottomHalfIntegral = 245
⌡
Division = 246
÷
AlmostEqualTo = 247
≈
DegreeSign = 248
°
BulletOperator = 249
∙
MiddleDot = 250
·
SquareRoot = 251
√
SuperscriptLatinSmallN = 252
ⁿ
SuperscriptTwo = 253
²
SquareSmall = 254
■
SquareSmallEmpty = 255
□ (Note this is not actually a code page 437 glyph. It was added manually to all built in fonts for decorative purposes)
Implementations§
Trait Implementations§
Source§impl Ordinalize for Glyph
impl Ordinalize for Glyph
Source§const VARIANT_COUNT: usize = 256usize
const VARIANT_COUNT: usize = 256usize
The count of variants.
Source§type VariantType = u8
type VariantType = u8
The type of the values of the variants.
Source§unsafe fn from_ordinal_unsafe(number: u8) -> Self
unsafe fn from_ordinal_unsafe(number: u8) -> Self
Obtain a variant based on an integer number. Read more
Source§fn from_ordinal(number: u8) -> Option<Self>
fn from_ordinal(number: u8) -> Option<Self>
Obtain a variant based on an integer number.
impl Copy for Glyph
impl Eq for Glyph
impl StructuralPartialEq for Glyph
Auto Trait Implementations§
impl Freeze for Glyph
impl RefUnwindSafe for Glyph
impl Send for Glyph
impl Sync for Glyph
impl Unpin for Glyph
impl UnwindSafe for Glyph
Blanket Implementations§
Source§impl<T, U> AsBindGroupShaderType<U> for T
impl<T, U> AsBindGroupShaderType<U> for T
Source§fn as_bind_group_shader_type(&self, _images: &RenderAssets<GpuImage>) -> U
fn as_bind_group_shader_type(&self, _images: &RenderAssets<GpuImage>) -> U
Return the
T ShaderType for self. When used in AsBindGroup
derives, it is safe to assume that all images in self exist.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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> FromWorld for Twhere
T: Default,
impl<T> FromWorld for Twhere
T: Default,
Source§fn from_world(_world: &mut World) -> T
fn from_world(_world: &mut World) -> T
Creates Self using default().
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 moreSource§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
Source§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.
Source§impl<T> TypeData for T
impl<T> TypeData for T
Source§fn clone_type_data(&self) -> Box<dyn TypeData>
fn clone_type_data(&self) -> Box<dyn TypeData>
Creates a type-erased clone of this value.