# Enum Opcode

    #[repr(u8)]pub enum Opcode {
    Show 256 variants    SVTCA0 = 0,
        SVTCA1 = 1,
        SPVTCA0 = 2,
        SPVTCA1 = 3,
        SFVTCA0 = 4,
        SFVTCA1 = 5,
        SPVTL0 = 6,
        SPVTL1 = 7,
        SFVTL0 = 8,
        SFVTL1 = 9,
        SPVFS = 10,
        SFVFS = 11,
        GPV = 12,
        GFV = 13,
        SFVTPV = 14,
        ISECT = 15,
        SRP0 = 16,
        SRP1 = 17,
        SRP2 = 18,
        SZP0 = 19,
        SZP1 = 20,
        SZP2 = 21,
        SZPS = 22,
        SLOOP = 23,
        RTG = 24,
        RTHG = 25,
        SMD = 26,
        ELSE = 27,
        JMPR = 28,
        SCVTCI = 29,
        SSWCI = 30,
        SSW = 31,
        DUP = 32,
        POP = 33,
        CLEAR = 34,
        SWAP = 35,
        DEPTH = 36,
        CINDEX = 37,
        MINDEX = 38,
        ALIGNPTS = 39,
        INS28 = 40,
        UTP = 41,
        LOOPCALL = 42,
        CALL = 43,
        FDEF = 44,
        ENDF = 45,
        MDAP0 = 46,
        MDAP1 = 47,
        IUP0 = 48,
        IUP1 = 49,
        SHP0 = 50,
        SHP1 = 51,
        SHC0 = 52,
        SHC1 = 53,
        SHZ0 = 54,
        SHZ1 = 55,
        SHPIX = 56,
        IP = 57,
        MSIRP0 = 58,
        MSIRP1 = 59,
        ALIGNRP = 60,
        RTDG = 61,
        MIAP0 = 62,
        MIAP1 = 63,
        NPUSHB = 64,
        NPUSHW = 65,
        WS = 66,
        RS = 67,
        WCVTP = 68,
        RCVT = 69,
        GC0 = 70,
        GC1 = 71,
        SCFS = 72,
        MD0 = 73,
        MD1 = 74,
        MPPEM = 75,
        MPS = 76,
        FLIPON = 77,
        FLIPOFF = 78,
        DEBUG = 79,
        LT = 80,
        LTEQ = 81,
        GT = 82,
        GTEQ = 83,
        EQ = 84,
        NEQ = 85,
        ODD = 86,
        EVEN = 87,
        IF = 88,
        EIF = 89,
        AND = 90,
        OR = 91,
        NOT = 92,
        DELTAP1 = 93,
        SDB = 94,
        SDS = 95,
        ADD = 96,
        SUB = 97,
        DIV = 98,
        MUL = 99,
        ABS = 100,
        NEG = 101,
        FLOOR = 102,
        CEILING = 103,
        ROUND00 = 104,
        ROUND01 = 105,
        ROUND10 = 106,
        ROUND11 = 107,
        NROUND00 = 108,
        NROUND01 = 109,
        NROUND10 = 110,
        NROUND11 = 111,
        WCVTF = 112,
        DELTAP2 = 113,
        DELTAP3 = 114,
        DELTAC1 = 115,
        DELTAC2 = 116,
        DELTAC3 = 117,
        SROUND = 118,
        S45ROUND = 119,
        JROT = 120,
        JROF = 121,
        ROFF = 122,
        INS7B = 123,
        RUTG = 124,
        RDTG = 125,
        SANGW = 126,
        AA = 127,
        FLIPPT = 128,
        FLIPRGON = 129,
        FLIPRGOFF = 130,
        INS83 = 131,
        INS84 = 132,
        SCANCTRL = 133,
        SDPVTL0 = 134,
        SDPVTL1 = 135,
        GETINFO = 136,
        IDEF = 137,
        ROLL = 138,
        MAX = 139,
        MIN = 140,
        SCANTYPE = 141,
        INSTCTRL = 142,
        INS8F = 143,
        INS90 = 144,
        GETVARIATION = 145,
        GETDATA = 146,
        INS93 = 147,
        INS94 = 148,
        INS95 = 149,
        INS96 = 150,
        INS97 = 151,
        INS98 = 152,
        INS99 = 153,
        INS9A = 154,
        INS9B = 155,
        INS9C = 156,
        INS9D = 157,
        INS9E = 158,
        INS9F = 159,
        INSA0 = 160,
        INSA1 = 161,
        INSA2 = 162,
        INSA3 = 163,
        INSA4 = 164,
        INSA5 = 165,
        INSA6 = 166,
        INSA7 = 167,
        INSA8 = 168,
        INSA9 = 169,
        INSAA = 170,
        INSAB = 171,
        INSAC = 172,
        INSAD = 173,
        INSAE = 174,
        INSAF = 175,
        PUSHB000 = 176,
        PUSHB001 = 177,
        PUSHB010 = 178,
        PUSHB011 = 179,
        PUSHB100 = 180,
        PUSHB101 = 181,
        PUSHB110 = 182,
        PUSHB111 = 183,
        PUSHW000 = 184,
        PUSHW001 = 185,
        PUSHW010 = 186,
        PUSHW011 = 187,
        PUSHW100 = 188,
        PUSHW101 = 189,
        PUSHW110 = 190,
        PUSHW111 = 191,
        MDRP00000 = 192,
        MDRP00001 = 193,
        MDRP00010 = 194,
        MDRP00011 = 195,
        MDRP00100 = 196,
        MDRP00101 = 197,
        MDRP00110 = 198,
        MDRP00111 = 199,
        MDRP01000 = 200,
        MDRP01001 = 201,
        MDRP01010 = 202,
        MDRP01011 = 203,
        MDRP01100 = 204,
        MDRP01101 = 205,
        MDRP01110 = 206,
        MDRP01111 = 207,
        MDRP10000 = 208,
        MDRP10001 = 209,
        MDRP10010 = 210,
        MDRP10011 = 211,
        MDRP10100 = 212,
        MDRP10101 = 213,
        MDRP10110 = 214,
        MDRP10111 = 215,
        MDRP11000 = 216,
        MDRP11001 = 217,
        MDRP11010 = 218,
        MDRP11011 = 219,
        MDRP11100 = 220,
        MDRP11101 = 221,
        MDRP11110 = 222,
        MDRP11111 = 223,
        MIRP00000 = 224,
        MIRP00001 = 225,
        MIRP00010 = 226,
        MIRP00011 = 227,
        MIRP00100 = 228,
        MIRP00101 = 229,
        MIRP00110 = 230,
        MIRP00111 = 231,
        MIRP01000 = 232,
        MIRP01001 = 233,
        MIRP01010 = 234,
        MIRP01011 = 235,
        MIRP01100 = 236,
        MIRP01101 = 237,
        MIRP01110 = 238,
        MIRP01111 = 239,
        MIRP10000 = 240,
        MIRP10001 = 241,
        MIRP10010 = 242,
        MIRP10011 = 243,
        MIRP10100 = 244,
        MIRP10101 = 245,
        MIRP10110 = 246,
        MIRP10111 = 247,
        MIRP11000 = 248,
        MIRP11001 = 249,
        MIRP11010 = 250,
        MIRP11011 = 251,
        MIRP11100 = 252,
        MIRP11101 = 253,
        MIRP11110 = 254,
        MIRP11111 = 255,
    }

Expand description

Operation code for a TrueType instruction.

See the TrueType instruction set from the OpenType specification for more detail.

## Variants§

§

### SVTCA0 = 0

§

### SVTCA1 = 1

§

### SPVTCA0 = 2

§

### SPVTCA1 = 3

§

### SFVTCA0 = 4

§

### SFVTCA1 = 5

§

### SPVTL0 = 6

§

### SPVTL1 = 7

§

### SFVTL0 = 8

§

### SFVTL1 = 9

§

### SPVFS = 10

§

### SFVFS = 11

§

### GPV = 12

§

### GFV = 13

§

### SFVTPV = 14

§

### ISECT = 15

§

### SRP0 = 16

§

### SRP1 = 17

§

### SRP2 = 18

§

### SZP0 = 19

§

### SZP1 = 20

§

### SZP2 = 21

§

### SZPS = 22

§

### SLOOP = 23

§

### RTG = 24

§

### RTHG = 25

§

### SMD = 26

§

### ELSE = 27

§

### JMPR = 28

§

### SCVTCI = 29

§

### SSWCI = 30

§

### SSW = 31

§

### DUP = 32

§

### POP = 33

§

### CLEAR = 34

§

### SWAP = 35

§

### DEPTH = 36

§

### CINDEX = 37

§

### MINDEX = 38

§

### ALIGNPTS = 39

§

### INS28 = 40

§

### UTP = 41

§

### LOOPCALL = 42

§

### CALL = 43

§

### FDEF = 44

§

### ENDF = 45

§

### MDAP0 = 46

§

### MDAP1 = 47

§

### IUP0 = 48

§

### IUP1 = 49

§

### SHP0 = 50

§

### SHP1 = 51

§

### SHC0 = 52

§

### SHC1 = 53

§

### SHZ0 = 54

§

### SHZ1 = 55

§

### SHPIX = 56

§

### IP = 57

§

### MSIRP0 = 58

§

### MSIRP1 = 59

§

### ALIGNRP = 60

§

### RTDG = 61

§

### MIAP0 = 62

§

### MIAP1 = 63

§

### NPUSHB = 64

§

### NPUSHW = 65

§

### WS = 66

§

### RS = 67

§

### WCVTP = 68

§

### RCVT = 69

§

### GC0 = 70

§

### GC1 = 71

§

### SCFS = 72

§

### MD0 = 73

§

### MD1 = 74

§

### MPPEM = 75

§

### MPS = 76

§

### FLIPON = 77

§

### FLIPOFF = 78

§

### DEBUG = 79

§

### LT = 80

§

### LTEQ = 81

§

### GT = 82

§

### GTEQ = 83

§

### EQ = 84

§

### NEQ = 85

§

### ODD = 86

§

### EVEN = 87

§

### IF = 88

§

### EIF = 89

§

### AND = 90

§

### OR = 91

§

### NOT = 92

§

### DELTAP1 = 93

§

### SDB = 94

§

### SDS = 95

§

### ADD = 96

§

### SUB = 97

§

### DIV = 98

§

### MUL = 99

§

### ABS = 100

§

### NEG = 101

§

### FLOOR = 102

§

### CEILING = 103

§

### ROUND00 = 104

§

### ROUND01 = 105

§

### ROUND10 = 106

§

### ROUND11 = 107

§

### NROUND00 = 108

§

### NROUND01 = 109

§

### NROUND10 = 110

§

### NROUND11 = 111

§

### WCVTF = 112

§

### DELTAP2 = 113

§

### DELTAP3 = 114

§

### DELTAC1 = 115

§

### DELTAC2 = 116

§

### DELTAC3 = 117

§

### SROUND = 118

§

### S45ROUND = 119

§

### JROT = 120

§

### JROF = 121

§

### ROFF = 122

§

### INS7B = 123

§

### RUTG = 124

§

### RDTG = 125

§

### SANGW = 126

§

### AA = 127

§

### FLIPPT = 128

§

### FLIPRGON = 129

§

### FLIPRGOFF = 130

§

### INS83 = 131

§

### INS84 = 132

§

### SCANCTRL = 133

§

### SDPVTL0 = 134

§

### SDPVTL1 = 135

§

### GETINFO = 136

§

### IDEF = 137

§

### ROLL = 138

§

### MAX = 139

§

### MIN = 140

§

### SCANTYPE = 141

§

### INSTCTRL = 142

§

### INS8F = 143

§

### INS90 = 144

§

### GETVARIATION = 145

§

### GETDATA = 146

§

### INS93 = 147

§

### INS94 = 148

§

### INS95 = 149

§

### INS96 = 150

§

### INS97 = 151

§

### INS98 = 152

§

### INS99 = 153

§

### INS9A = 154

§

### INS9B = 155

§

### INS9C = 156

§

### INS9D = 157

§

### INS9E = 158

§

### INS9F = 159

§

### INSA0 = 160

§

### INSA1 = 161

§

### INSA2 = 162

§

### INSA3 = 163

§

### INSA4 = 164

§

### INSA5 = 165

§

### INSA6 = 166

§

### INSA7 = 167

§

### INSA8 = 168

§

### INSA9 = 169

§

### INSAA = 170

§

### INSAB = 171

§

### INSAC = 172

§

### INSAD = 173

§

### INSAE = 174

§

### INSAF = 175

§

### PUSHB000 = 176

§

### PUSHB001 = 177

§

### PUSHB010 = 178

§

### PUSHB011 = 179

§

### PUSHB100 = 180

§

### PUSHB101 = 181

§

### PUSHB110 = 182

§

### PUSHB111 = 183

§

### PUSHW000 = 184

§

### PUSHW001 = 185

§

### PUSHW010 = 186

§

### PUSHW011 = 187

§

### PUSHW100 = 188

§

### PUSHW101 = 189

§

### PUSHW110 = 190

§

### PUSHW111 = 191

§

### MDRP00000 = 192

§

### MDRP00001 = 193

§

### MDRP00010 = 194

§

### MDRP00011 = 195

§

### MDRP00100 = 196

§

### MDRP00101 = 197

§

### MDRP00110 = 198

§

### MDRP00111 = 199

§

### MDRP01000 = 200

§

### MDRP01001 = 201

§

### MDRP01010 = 202

§

### MDRP01011 = 203

§

### MDRP01100 = 204

§

### MDRP01101 = 205

§

### MDRP01110 = 206

§

### MDRP01111 = 207

§

### MDRP10000 = 208

§

### MDRP10001 = 209

§

### MDRP10010 = 210

§

### MDRP10011 = 211

§

### MDRP10100 = 212

§

### MDRP10101 = 213

§

### MDRP10110 = 214

§

### MDRP10111 = 215

§

### MDRP11000 = 216

§

### MDRP11001 = 217

§

### MDRP11010 = 218

§

### MDRP11011 = 219

§

### MDRP11100 = 220

§

### MDRP11101 = 221

§

### MDRP11110 = 222

§

### MDRP11111 = 223

§

### MIRP00000 = 224

§

### MIRP00001 = 225

§

### MIRP00010 = 226

§

### MIRP00011 = 227

§

### MIRP00100 = 228

§

### MIRP00101 = 229

§

### MIRP00110 = 230

§

### MIRP00111 = 231

§

### MIRP01000 = 232

§

### MIRP01001 = 233

§

### MIRP01010 = 234

§

### MIRP01011 = 235

§

### MIRP01100 = 236

§

### MIRP01101 = 237

§

### MIRP01110 = 238

§

### MIRP01111 = 239

§

### MIRP10000 = 240

§

### MIRP10001 = 241

§

### MIRP10010 = 242

§

### MIRP10011 = 243

§

### MIRP10100 = 244

§

### MIRP10101 = 245

§

### MIRP10110 = 246

§

### MIRP10111 = 247

§

### MIRP11000 = 248

§

### MIRP11001 = 249

§

### MIRP11010 = 250

§

### MIRP11011 = 251

§

### MIRP11100 = 252

§

### MIRP11101 = 253

§

### MIRP11110 = 254

§

### MIRP11111 = 255

## Implementations§

§

### impl Opcode

#### pub fn from_byte(byte: u8) -> Opcode

Creates an opcode from the given byte.

There is a 1:1 mapping between bytes and opcodes.

#### pub fn name(self) -> &'static str

Returns a more descriptive name for the opcode.

#### pub fn is_push(self) -> bool

Returns true if this is an instruction that pushes values onto the stack.

## Trait Implementations§

§

### impl Clone for Opcode

§

#### fn clone(&self) -> Opcode

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

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

Performs copy-assignment from `source`. Read more
§

### impl Debug for Opcode

§

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

Formats the value using the given formatter. Read more
§

### impl Display for Opcode

§

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

Formats the value using the given formatter. Read more
§

### impl Hash for Opcode

§

#### fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given `Hasher`. Read more
1.3.0 · Source§

#### fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given `Hasher`. Read more
§

### impl Ord for Opcode

§

#### fn cmp(&self, other: &Opcode) -> Ordering

This method returns an `Ordering` between `self` and `other`. Read more
1.21.0 · Source§

#### fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

#### fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

#### fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
§

### impl PartialEq for Opcode

§

#### fn eq(&self, other: &Opcode) -> 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.
§

### impl PartialOrd for Opcode

§

#### fn partial_cmp(&self, other: &Opcode) -> Option<Ordering>

This method returns an ordering between `self` and `other` values if one exists. Read more
1.0.0 · Source§

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

Tests less than (for `self` and `other`) and is used by the `<` operator. Read more
1.0.0 · Source§

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

Tests less than or equal to (for `self` and `other`) and is used by the `<=` operator. Read more
1.0.0 · Source§

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

Tests greater than (for `self` and `other`) and is used by the `>` operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for `self` and `other`) and is used by the `>=` operator. Read more
§

### impl Copy for Opcode

§

### impl Eq for Opcode

§

### impl StructuralPartialEq for Opcode

## Auto Trait Implementations§

§

### impl Freeze for Opcode

§

### impl RefUnwindSafe for Opcode

§

### impl Send for Opcode

§

### impl Sync for Opcode

§

### impl Unpin for Opcode

§

### impl UnwindSafe for Opcode

## Blanket Implementations§

Source§

### impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, D: AdaptFrom<S, Swp, Dwp, T>,

Source§

#### fn adapt_into_using<M>(self, method: M) -> D
where M: TransformMatrix<T>,

Convert the source color to the destination color using the specified method.
Source§

#### fn adapt_into(self) -> D

Convert the source color to the destination color using the bradford method by default.
§

### impl<T> Also for T

§

#### fn also<F>(self, block: F) -> Self
where F: FnOnce(&mut Self),

Apply a function to this value and return the (possibly) modified value.
Source§

### impl<T> Any for T
where T: 'static + ?Sized,

Source§

#### fn type_id(&self) -> TypeId

Gets the `TypeId` of `self`. Read more
§

### impl<T> AnyEq for T
where T: Any + PartialEq,

§

#### fn equals(&self, other: &(dyn Any + 'static)) -> bool

§

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

§

### impl<T, Res> Apply<Res> for T
where T: ?Sized,

§

#### fn apply<F>(self, f: F) -> Res
where F: FnOnce(Self) -> Res, Self: Sized,

Apply a function which takes the parameter by value.
§

#### fn apply_ref<F>(&self, f: F) -> Res
where F: FnOnce(&Self) -> Res,

Apply a function which takes the parameter by reference.
§

#### fn apply_mut<F>(&mut self, f: F) -> Res
where F: FnOnce(&mut Self) -> Res,

Apply a function which takes the parameter by mutable reference.
Source§

### impl<T, C> ArraysFrom<C> for T
where C: IntoArrays<T>,

Source§

#### fn arrays_from(colors: C) -> T

Cast a collection of colors into a collection of arrays.
Source§

### impl<T, C> ArraysInto<C> for T
where C: FromArrays<T>,

Source§

#### fn arrays_into(self) -> C

Cast this collection of arrays into a collection of colors.
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<WpParam, T, U> Cam16IntoUnclamped<WpParam, T> for U
where T: FromCam16Unclamped<WpParam, U>,

Source§

#### type Scalar = <T as FromCam16Unclamped<WpParam, U>>::Scalar

The number type that’s used in `parameters` when converting.
Source§

#### fn cam16_into_unclamped( self, parameters: BakedParameters<WpParam, <U as Cam16IntoUnclamped<WpParam, T>>::Scalar>, ) -> T

Converts `self` into `C`, using the provided parameters.
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
§

### impl<Q, K> Comparable<K> for Q
where Q: Ord + ?Sized, K: Borrow<Q> + ?Sized,

§

#### fn compare(&self, key: &K) -> Ordering

Compare self to `key` and return their ordering.
Source§

### impl<T, C> ComponentsFrom<C> for T
where C: IntoComponents<T>,

Source§

#### fn components_from(colors: C) -> T

Cast a collection of colors into a collection of color components.
§

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

§

#### fn into_any(self: Box<T>) -> Box<dyn Any>

Convert `Box<dyn Trait>` (where `Trait: Downcast`) to `Box<dyn Any>`. `Box<dyn Any>` can then be further `downcast` into `Box<ConcreteType>` where `ConcreteType` implements `Trait`.
§

#### fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert `Rc<Trait>` (where `Trait: Downcast`) to `Rc<Any>`. `Rc<Any>` can then be further `downcast` into `Rc<ConcreteType>` where `ConcreteType` implements `Trait`.
§

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

Convert `&Trait` (where `Trait: Downcast`) to `&Any`. This is needed since Rust cannot generate `&Any`’s vtable from `&Trait`’s.
§

#### fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert `&mut Trait` (where `Trait: Downcast`) to `&Any`. This is needed since Rust cannot generate `&mut Any`’s vtable from `&mut Trait`’s.
§

### impl<T> DowncastSync for T
where T: Any + Send + Sync,

§

#### fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert `Arc<Trait>` (where `Trait: Downcast`) to `Arc<Any>`. `Arc<Any>` can then be further `downcast` into `Arc<ConcreteType>` where `ConcreteType` implements `Trait`.
§

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

§

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

Checks if this value is equivalent to the given key. Read more
§

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

§

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

Checks if this value is equivalent to the given key. Read more
§

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

§

#### 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> FromAngle<T> for T

Source§

#### fn from_angle(angle: T) -> T

Performs a conversion from `angle`.
Source§

### impl<T, U> FromStimulus<U> for T
where U: IntoStimulus<T>,

Source§

#### fn from_stimulus(other: U) -> T

Converts `other` into `Self`, while performing the appropriate scaling, rounding and clamping.
§

### impl<T> Instrument for T

§

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

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

#### 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, U> IntoAngle<U> for T
where U: FromAngle<T>,

Source§

#### fn into_angle(self) -> U

Performs a conversion into `T`.
§

### impl<State, Message> IntoBoot<State, Message> for State

§

#### fn into_boot(self) -> (State, Task<Message>)

Turns some type into the initial state of some `Application`.
Source§

### impl<WpParam, T, U> IntoCam16Unclamped<WpParam, T> for U
where T: Cam16FromUnclamped<WpParam, U>,

Source§

#### type Scalar = <T as Cam16FromUnclamped<WpParam, U>>::Scalar

The number type that’s used in `parameters` when converting.
Source§

#### fn into_cam16_unclamped( self, parameters: BakedParameters<WpParam, <U as IntoCam16Unclamped<WpParam, T>>::Scalar>, ) -> T

Converts `self` into `C`, using the provided parameters.
Source§

### impl<T, U> IntoColor<U> for T
where U: FromColor<T>,

Source§

#### fn into_color(self) -> U

Convert into T with values clamped to the color defined bounds Read more
Source§

### impl<T, U> IntoColorUnclamped<U> for T
where U: FromColorUnclamped<T>,

Source§

#### fn into_color_unclamped(self) -> U

Convert into T. The resulting color might be invalid in its color space Read more
Source§

### impl<T> IntoStimulus<T> for T

Source§

#### fn into_stimulus(self) -> T

Converts `self` into `T`, while performing the appropriate scaling, rounding and clamping.
Source§

### impl<T> Same for T

Source§

#### type Output = T

Should always be `Self`
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
§

### impl<T> ToSmolStr for T
where T: Display + ?Sized,

§

#### fn to_smolstr(&self) -> SmolStr

Source§

### impl<T> ToString for T
where T: Display + ?Sized,

Source§

#### fn to_string(&self) -> String

Converts the given value to a `String`. Read more
Source§

### impl<T, C> TryComponentsInto<C> for T
where C: TryFromComponents<T>,

Source§

#### type Error = <C as TryFromComponents<T>>::Error

The error for when `try_into_colors` fails to cast.
Source§

#### fn try_components_into(self) -> Result<C, <T as TryComponentsInto<C>>::Error>

Try to cast this collection of color components into a collection of colors. 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, U> TryIntoColor<U> for T
where U: TryFromColor<T>,

Source§

#### fn try_into_color(self) -> Result<U, OutOfBounds<U>>

Convert into T, returning ok if the color is inside of its defined range, otherwise an `OutOfBounds` error is returned which contains the unclamped color. Read more
Source§

### impl<C, U> UintsFrom<C> for U
where C: IntoUints<U>,

Source§

#### fn uints_from(colors: C) -> U

Cast a collection of colors into a collection of unsigned integers.
Source§

### impl<C, U> UintsInto<C> for U
where C: FromUints<U>,

Source§

#### fn uints_into(self) -> C

Cast this collection of unsigned integers into a collection of colors.
§

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

§

#### fn vzip(self) -> V

§

### impl<T> WithSubscriber for T

§

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

#### fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

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

### impl<T> MaybeClone for T

§

### impl<T> MaybeDebug for T

§

### impl<T> MaybeSend for T
where T: Send,

§

### impl<T> MaybeSend for T
where T: Send,

§

### impl<T> MaybeSync for T
where T: Sync,

§

### impl<T> MaybeSync for T
where T: Sync,