Enum Glyph

Source
#[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§

Source§

impl Glyph

Source

pub const fn to_char(self) -> char

Convert an ascii glyph to it’s corresponding char.

Source

pub fn from_char(ch: char) -> Option<Self>

Convert from a char to a terminal ascii glyph. Returns None if the char is not a valid terminal glyph.

Trait Implementations§

Source§

impl Clone for Glyph

Source§

fn clone(&self) -> Glyph

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Glyph

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Glyph

Source§

fn default() -> Glyph

Returns the “default value” for a type. Read more
Source§

impl From<Glyph> for char

Source§

fn from(value: Glyph) -> Self

Converts to this type from the input type.
Source§

impl Ordinalize for Glyph

Source§

const VARIANT_COUNT: usize = 256usize

The count of variants.
Source§

const VARIANTS: &'static [Self]

List of this enum’s variants.
Source§

const VALUES: &'static [u8]

List of values for all variants of this enum.
Source§

type VariantType = u8

The type of the values of the variants.
Source§

fn ordinal(&self) -> u8

Retrieve the integer number of this variant.
Source§

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>

Obtain a variant based on an integer number.
Source§

impl PartialEq for Glyph

Source§

fn eq(&self, other: &Glyph) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<char> for Glyph

Source§

type Error = GlyphFromCharError

The type returned in the event of a conversion error.
Source§

fn try_from(value: char) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Copy for Glyph

Source§

impl Eq for Glyph

Source§

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T, U> AsBindGroupShaderType<U> for T
where U: ShaderType, &'a T: for<'a> Into<U>,

Source§

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> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> Downcast<T> for T

Source§

fn downcast(&self) -> &T

Source§

impl<T> Downcast for T
where T: Any,

Source§

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>

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)

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)

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
where T: Any + Send,

Source§

fn into_any_send(self: Box<T>) -> Box<dyn Any + Send>

Converts Box<Trait> (where Trait: DowncastSend) to Box<dyn Any + Send>, which can then be downcast into Box<ConcreteType> where ConcreteType implements Trait.
Source§

impl<T> DynEq for T
where T: Any + Eq,

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Casts the type to dyn Any.
Source§

fn dyn_eq(&self, other: &(dyn DynEq + 'static)) -> bool

This method tests for self and other values to be equal. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FromWorld for T
where T: Default,

Source§

fn from_world(_world: &mut World) -> T

Creates Self using default().

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> TypeData for T
where T: 'static + Send + Sync + Clone,

Source§

impl<T> Upcast<T> for T

Source§

fn upcast(&self) -> Option<&T>

Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ConditionalSend for T
where T: Send,

Source§

impl<T> Settings for T
where T: 'static + Send + Sync,

Source§

impl<T> WasmNotSend for T
where T: Send,

Source§

impl<T> WasmNotSendSync for T

Source§

impl<T> WasmNotSync for T
where T: Sync,