#[repr(u8)]pub enum PoolSlug {
Show 256 variants
Unknown = 0,
BlockFills = 1,
UltimusPool = 2,
TerraPool = 3,
Luxor = 4,
OneThash = 5,
BtcCom = 6,
Bitfarms = 7,
HuobiPool = 8,
WayiCn = 9,
CanoePool = 10,
BtcTop = 11,
BitcoinCom = 12,
Pool175btc = 13,
GbMiners = 14,
AXbt = 15,
AsicMiner = 16,
BitMinter = 17,
BitcoinRussia = 18,
BtcServ = 19,
SimplecoinUs = 20,
BtcGuild = 21,
Eligius = 22,
OzCoin = 23,
EclipseMc = 24,
MaxBtc = 25,
TripleMining = 26,
CoinLab = 27,
Pool50btc = 28,
GhashIo = 29,
StMiningCorp = 30,
Bitparking = 31,
Mmpool = 32,
Polmine = 33,
KncMiner = 34,
Bitalo = 35,
F2Pool = 36,
Hhtt = 37,
MegaBigPower = 38,
MtRed = 39,
NmcBit = 40,
YourbtcNet = 41,
GiveMeCoins = 42,
BraiinsPool = 43,
AntPool = 44,
MultiCoinCo = 45,
BcpoolIo = 46,
Cointerra = 47,
KanoPool = 48,
SoloCk = 49,
CkPool = 50,
NiceHash = 51,
BitClub = 52,
BitcoinAffiliateNetwork = 53,
Btcc = 54,
BwPool = 55,
ExxBw = 56,
Bitsolo = 57,
BitFury = 58,
TwentyOneInc = 59,
DigitalBtc = 60,
EightBaochi = 61,
MyBtcCoinPool = 62,
TbDice = 63,
HashPool = 64,
Nexious = 65,
BravoMining = 66,
HotPool = 67,
OkExPool = 68,
BcMonster = 69,
OneHash = 70,
Bixin = 71,
TatmasPool = 72,
ViaBtc = 73,
ConnectBtc = 74,
BatPool = 75,
Waterhole = 76,
DcExploration = 77,
Dcex = 78,
BtPool = 79,
FiftyEightCoin = 80,
BitcoinIndia = 81,
ShawnP0wers = 82,
PHashIo = 83,
RigPool = 84,
HaoZhuZhu = 85,
SevenPool = 86,
MiningKings = 87,
HashBx = 88,
DPool = 89,
Rawpool = 90,
Haominer = 91,
Helix = 92,
BitcoinUkraine = 93,
Poolin = 94,
SecretSuperstar = 95,
TigerpoolNet = 96,
SigmapoolCom = 97,
OkpoolTop = 98,
Hummerpool = 99,
Tangpool = 100,
BytePool = 101,
SpiderPool = 102,
NovaBlock = 103,
MiningCity = 104,
BinancePool = 105,
Minerium = 106,
LubianCom = 107,
Okkong = 108,
AaoPool = 109,
EmcdPool = 110,
FoundryUsa = 111,
SbiCrypto = 112,
ArkPool = 113,
PureBtcCom = 114,
MaraPool = 115,
KuCoinPool = 116,
EntrustCharityPool = 117,
OkMiner = 118,
Titan = 119,
PegaPool = 120,
BtcNuggets = 121,
CloudHashing = 122,
DigitalXMintsy = 123,
Telco214 = 124,
BtcPoolParty = 125,
Multipool = 126,
TransactionCoinMining = 127,
BtcDig = 128,
TrickysBtcPool = 129,
BtcMp = 130,
Eobot = 131,
Unomp = 132,
Patels = 133,
GoGreenLight = 134,
BitcoinIndiaPool = 135,
EkanemBtc = 136,
Canoe = 137,
Tiger = 138,
OneM1x = 139,
Zulupool = 140,
SecPool = 141,
Ocean = 142,
WhitePool = 143,
Wiz = 144,
Dummy145 = 145,
Dummy146 = 146,
Wk057 = 147,
FutureBitApolloSolo = 148,
Dummy149 = 149,
Dummy150 = 150,
CarbonNegative = 151,
PortlandHodl = 152,
Phoenix = 153,
Neopool = 154,
MaxiPool = 155,
Dummy156 = 156,
BitFuFuPool = 157,
GDPool = 158,
MiningDutch = 159,
PublicPool = 160,
MiningSquared = 161,
InnopolisTech = 162,
Dummy163 = 163,
BtcLab = 164,
Parasite = 165,
RedRockPool = 166,
Est3lar = 167,
BraiinsSolo = 168,
SoloPool = 169,
Noderunners = 170,
Dummy171 = 171,
Dummy172 = 172,
Dummy173 = 173,
Dummy174 = 174,
Dummy175 = 175,
Dummy176 = 176,
Dummy177 = 177,
Dummy178 = 178,
Dummy179 = 179,
Dummy180 = 180,
Dummy181 = 181,
Dummy182 = 182,
Dummy183 = 183,
Dummy184 = 184,
Dummy185 = 185,
Dummy186 = 186,
Dummy187 = 187,
Dummy188 = 188,
Dummy189 = 189,
Dummy190 = 190,
Dummy191 = 191,
Dummy192 = 192,
Dummy193 = 193,
Dummy194 = 194,
Dummy195 = 195,
Dummy196 = 196,
Dummy197 = 197,
Dummy198 = 198,
Dummy199 = 199,
Dummy200 = 200,
Dummy201 = 201,
Dummy202 = 202,
Dummy203 = 203,
Dummy204 = 204,
Dummy205 = 205,
Dummy206 = 206,
Dummy207 = 207,
Dummy208 = 208,
Dummy209 = 209,
Dummy210 = 210,
Dummy211 = 211,
Dummy212 = 212,
Dummy213 = 213,
Dummy214 = 214,
Dummy215 = 215,
Dummy216 = 216,
Dummy217 = 217,
Dummy218 = 218,
Dummy219 = 219,
Dummy220 = 220,
Dummy221 = 221,
Dummy222 = 222,
Dummy223 = 223,
Dummy224 = 224,
Dummy225 = 225,
Dummy226 = 226,
Dummy227 = 227,
Dummy228 = 228,
Dummy229 = 229,
Dummy230 = 230,
Dummy231 = 231,
Dummy232 = 232,
Dummy233 = 233,
Dummy234 = 234,
Dummy235 = 235,
Dummy236 = 236,
Dummy237 = 237,
Dummy238 = 238,
Dummy239 = 239,
Dummy240 = 240,
Dummy241 = 241,
Dummy242 = 242,
Dummy243 = 243,
Dummy244 = 244,
Dummy245 = 245,
Dummy246 = 246,
Dummy247 = 247,
Dummy248 = 248,
Dummy249 = 249,
Dummy250 = 250,
Dummy251 = 251,
Dummy252 = 252,
Dummy253 = 253,
Dummy254 = 254,
Dummy255 = 255,
}Expand description
URL-friendly mining pool identifier
Variants§
Unknown = 0
BlockFills = 1
UltimusPool = 2
TerraPool = 3
Luxor = 4
OneThash = 5
BtcCom = 6
Bitfarms = 7
HuobiPool = 8
WayiCn = 9
CanoePool = 10
BtcTop = 11
BitcoinCom = 12
Pool175btc = 13
GbMiners = 14
AXbt = 15
AsicMiner = 16
BitMinter = 17
BitcoinRussia = 18
BtcServ = 19
SimplecoinUs = 20
BtcGuild = 21
Eligius = 22
OzCoin = 23
EclipseMc = 24
MaxBtc = 25
TripleMining = 26
CoinLab = 27
Pool50btc = 28
GhashIo = 29
StMiningCorp = 30
Bitparking = 31
Mmpool = 32
Polmine = 33
KncMiner = 34
Bitalo = 35
F2Pool = 36
Hhtt = 37
MegaBigPower = 38
MtRed = 39
NmcBit = 40
YourbtcNet = 41
GiveMeCoins = 42
BraiinsPool = 43
AntPool = 44
MultiCoinCo = 45
BcpoolIo = 46
Cointerra = 47
KanoPool = 48
SoloCk = 49
CkPool = 50
NiceHash = 51
BitClub = 52
BitcoinAffiliateNetwork = 53
Btcc = 54
BwPool = 55
ExxBw = 56
Bitsolo = 57
BitFury = 58
TwentyOneInc = 59
DigitalBtc = 60
EightBaochi = 61
MyBtcCoinPool = 62
TbDice = 63
HashPool = 64
Nexious = 65
BravoMining = 66
HotPool = 67
OkExPool = 68
BcMonster = 69
OneHash = 70
Bixin = 71
TatmasPool = 72
ViaBtc = 73
ConnectBtc = 74
BatPool = 75
Waterhole = 76
DcExploration = 77
Dcex = 78
BtPool = 79
FiftyEightCoin = 80
BitcoinIndia = 81
ShawnP0wers = 82
PHashIo = 83
RigPool = 84
HaoZhuZhu = 85
SevenPool = 86
MiningKings = 87
HashBx = 88
DPool = 89
Rawpool = 90
Haominer = 91
Helix = 92
BitcoinUkraine = 93
Poolin = 94
SecretSuperstar = 95
TigerpoolNet = 96
SigmapoolCom = 97
OkpoolTop = 98
Hummerpool = 99
Tangpool = 100
BytePool = 101
SpiderPool = 102
NovaBlock = 103
MiningCity = 104
BinancePool = 105
Minerium = 106
LubianCom = 107
Okkong = 108
AaoPool = 109
EmcdPool = 110
FoundryUsa = 111
SbiCrypto = 112
ArkPool = 113
PureBtcCom = 114
MaraPool = 115
KuCoinPool = 116
EntrustCharityPool = 117
OkMiner = 118
Titan = 119
PegaPool = 120
BtcNuggets = 121
CloudHashing = 122
DigitalXMintsy = 123
Telco214 = 124
BtcPoolParty = 125
Multipool = 126
TransactionCoinMining = 127
BtcDig = 128
TrickysBtcPool = 129
BtcMp = 130
Eobot = 131
Unomp = 132
Patels = 133
GoGreenLight = 134
BitcoinIndiaPool = 135
EkanemBtc = 136
Canoe = 137
Tiger = 138
OneM1x = 139
Zulupool = 140
SecPool = 141
Ocean = 142
WhitePool = 143
Wiz = 144
Dummy145 = 145
Dummy146 = 146
Wk057 = 147
FutureBitApolloSolo = 148
Dummy149 = 149
Dummy150 = 150
CarbonNegative = 151
PortlandHodl = 152
Phoenix = 153
Neopool = 154
MaxiPool = 155
Dummy156 = 156
BitFuFuPool = 157
GDPool = 158
MiningDutch = 159
PublicPool = 160
MiningSquared = 161
InnopolisTech = 162
Dummy163 = 163
BtcLab = 164
Parasite = 165
RedRockPool = 166
Est3lar = 167
BraiinsSolo = 168
SoloPool = 169
Noderunners = 170
Dummy171 = 171
Dummy172 = 172
Dummy173 = 173
Dummy174 = 174
Dummy175 = 175
Dummy176 = 176
Dummy177 = 177
Dummy178 = 178
Dummy179 = 179
Dummy180 = 180
Dummy181 = 181
Dummy182 = 182
Dummy183 = 183
Dummy184 = 184
Dummy185 = 185
Dummy186 = 186
Dummy187 = 187
Dummy188 = 188
Dummy189 = 189
Dummy190 = 190
Dummy191 = 191
Dummy192 = 192
Dummy193 = 193
Dummy194 = 194
Dummy195 = 195
Dummy196 = 196
Dummy197 = 197
Dummy198 = 198
Dummy199 = 199
Dummy200 = 200
Dummy201 = 201
Dummy202 = 202
Dummy203 = 203
Dummy204 = 204
Dummy205 = 205
Dummy206 = 206
Dummy207 = 207
Dummy208 = 208
Dummy209 = 209
Dummy210 = 210
Dummy211 = 211
Dummy212 = 212
Dummy213 = 213
Dummy214 = 214
Dummy215 = 215
Dummy216 = 216
Dummy217 = 217
Dummy218 = 218
Dummy219 = 219
Dummy220 = 220
Dummy221 = 221
Dummy222 = 222
Dummy223 = 223
Dummy224 = 224
Dummy225 = 225
Dummy226 = 226
Dummy227 = 227
Dummy228 = 228
Dummy229 = 229
Dummy230 = 230
Dummy231 = 231
Dummy232 = 232
Dummy233 = 233
Dummy234 = 234
Dummy235 = 235
Dummy236 = 236
Dummy237 = 237
Dummy238 = 238
Dummy239 = 239
Dummy240 = 240
Dummy241 = 241
Dummy242 = 242
Dummy243 = 243
Dummy244 = 244
Dummy245 = 245
Dummy246 = 246
Dummy247 = 247
Dummy248 = 248
Dummy249 = 249
Dummy250 = 250
Dummy251 = 251
Dummy252 = 252
Dummy253 = 253
Dummy254 = 254
Dummy255 = 255
Implementations§
Trait Implementations§
Source§impl Bytes for PoolSlug
impl Bytes for PoolSlug
Source§type Array = [u8; 1]
type Array = [u8; 1]
The byte array type returned by
to_bytes.
For fixed-size types, this is [u8; N] where N is the size of the type.Source§fn from_bytes(bytes: &[u8]) -> Result<PoolSlug, Error>
fn from_bytes(bytes: &[u8]) -> Result<PoolSlug, Error>
Deserializes a value from bytes. Read more
Source§const IS_NATIVE_LAYOUT: bool = false
const IS_NATIVE_LAYOUT: bool = false
Whether the byte representation from
to_bytes is identical to the
in-memory representation of Self. When true, bulk operations can use
memcpy instead of per-element deserialization. Read moreSource§impl<'de> Deserialize<'de> for PoolSlug
impl<'de> Deserialize<'de> for PoolSlug
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PoolSlug, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PoolSlug, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Formattable for PoolSlug
impl Formattable for PoolSlug
Source§impl JsonSchema for PoolSlug
impl JsonSchema for PoolSlug
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for PoolSlug
impl Ord for PoolSlug
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for PoolSlug
impl PartialOrd for PoolSlug
Source§impl Serialize for PoolSlug
impl Serialize for PoolSlug
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for PoolSlug
impl Eq for PoolSlug
impl StructuralPartialEq for PoolSlug
Auto Trait Implementations§
impl Freeze for PoolSlug
impl RefUnwindSafe for PoolSlug
impl Send for PoolSlug
impl Sync for PoolSlug
impl Unpin for PoolSlug
impl UnsafeUnpin for PoolSlug
impl UnwindSafe for PoolSlug
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.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§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<D> OwoColorize for D
impl<D> OwoColorize for D
Source§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
Set the foreground color generically Read more
Source§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
Set the background color generically. Read more
Source§fn black(&self) -> FgColorDisplay<'_, Black, Self>
fn black(&self) -> FgColorDisplay<'_, Black, Self>
Change the foreground color to black
Source§fn on_black(&self) -> BgColorDisplay<'_, Black, Self>
fn on_black(&self) -> BgColorDisplay<'_, Black, Self>
Change the background color to black
Source§fn red(&self) -> FgColorDisplay<'_, Red, Self>
fn red(&self) -> FgColorDisplay<'_, Red, Self>
Change the foreground color to red
Source§fn on_red(&self) -> BgColorDisplay<'_, Red, Self>
fn on_red(&self) -> BgColorDisplay<'_, Red, Self>
Change the background color to red
Source§fn green(&self) -> FgColorDisplay<'_, Green, Self>
fn green(&self) -> FgColorDisplay<'_, Green, Self>
Change the foreground color to green
Source§fn on_green(&self) -> BgColorDisplay<'_, Green, Self>
fn on_green(&self) -> BgColorDisplay<'_, Green, Self>
Change the background color to green
Source§fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>
fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>
Change the foreground color to yellow
Source§fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>
fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>
Change the background color to yellow
Source§fn blue(&self) -> FgColorDisplay<'_, Blue, Self>
fn blue(&self) -> FgColorDisplay<'_, Blue, Self>
Change the foreground color to blue
Source§fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>
fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>
Change the background color to blue
Source§fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>
fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>
Change the foreground color to magenta
Source§fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
Change the background color to magenta
Source§fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>
fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>
Change the foreground color to purple
Source§fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>
Change the background color to purple
Source§fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>
fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>
Change the foreground color to cyan
Source§fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>
fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>
Change the background color to cyan
Source§fn white(&self) -> FgColorDisplay<'_, White, Self>
fn white(&self) -> FgColorDisplay<'_, White, Self>
Change the foreground color to white
Source§fn on_white(&self) -> BgColorDisplay<'_, White, Self>
fn on_white(&self) -> BgColorDisplay<'_, White, Self>
Change the background color to white
Source§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
Change the foreground color to the terminal default
Source§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
Change the background color to the terminal default
Source§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
Change the foreground color to bright black
Source§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
Change the background color to bright black
Source§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
Change the foreground color to bright red
Source§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
Change the background color to bright red
Source§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
Change the foreground color to bright green
Source§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
Change the background color to bright green
Source§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
Change the foreground color to bright yellow
Source§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
Change the background color to bright yellow
Source§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
Change the foreground color to bright blue
Source§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
Change the background color to bright blue
Source§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Change the foreground color to bright magenta
Source§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Change the background color to bright magenta
Source§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Change the foreground color to bright purple
Source§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Change the background color to bright purple
Source§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
Change the foreground color to bright cyan
Source§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
Change the background color to bright cyan
Source§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
Change the foreground color to bright white
Source§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
Change the background color to bright white
Source§fn bold(&self) -> BoldDisplay<'_, Self>
fn bold(&self) -> BoldDisplay<'_, Self>
Make the text bold
Source§fn dimmed(&self) -> DimDisplay<'_, Self>
fn dimmed(&self) -> DimDisplay<'_, Self>
Make the text dim
Source§fn italic(&self) -> ItalicDisplay<'_, Self>
fn italic(&self) -> ItalicDisplay<'_, Self>
Make the text italicized
Source§fn underline(&self) -> UnderlineDisplay<'_, Self>
fn underline(&self) -> UnderlineDisplay<'_, Self>
Make the text underlined
Source§fn blink(&self) -> BlinkDisplay<'_, Self>
fn blink(&self) -> BlinkDisplay<'_, Self>
Make the text blink
Source§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
Make the text blink (but fast!)
Source§fn reversed(&self) -> ReversedDisplay<'_, Self>
fn reversed(&self) -> ReversedDisplay<'_, Self>
Swap the foreground and background colors
Hide the text
Source§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
Cross out the text
Source§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
Set the foreground color at runtime. Only use if you do not know which color will be used at
compile-time. If the color is constant, use either
OwoColorize::fg or
a color-specific method, such as OwoColorize::green, Read moreSource§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
Set the background color at runtime. Only use if you do not know what color to use at
compile-time. If the color is constant, use either
OwoColorize::bg or
a color-specific method, such as OwoColorize::on_yellow, Read moreSource§fn fg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn fg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
Set the foreground color to a specific RGB value.
Source§fn bg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn bg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
Set the background color to a specific RGB value.
Source§fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
Sets the foreground color to an RGB value.
Source§fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
Sets the background color to an RGB value.