Crate typwire

Crate typwire 

Source

Re-exports§

pub use color::Cmyk;
pub use color::Color;
pub use color::ColorGradient;
pub use color::Hsl;
pub use color::Hsv;
pub use color::LinearRgb;
pub use color::Luma;
pub use color::Oklab;
pub use color::Oklch;
pub use color::Rgb;

Modules§

color

Structs§

Angle
A structure representing an angle in radians.
Center
A structure representing the center of a gradient, defined by x and y ratios.
ConicGradientBuilder
A builder for creating conic gradients.
DateTime
A struct representing a date and time with optional fields.
DateTimeBuilder
Duration
A structure representing a duration of time in seconds.
DurationBuilder
Length
A structure representing a length in points.
LinearGradientBuilder
A builder for creating linear gradients.
RadialGradientBuilder
A builder for creating radial gradients.
Radius
Ratio
A structure representing a ratio from 0 to 1.
Stop
A structure representing a color stop in a gradient with a specified color and offset.
Type
A structure representing a type defined by a string.
Version
A structure representing version with 5 components.

Enums§

ColorSpace
Gradient
Represents different types of gradients with specific parameters for each type.
LengthRadius
An enum representing either a Length or a Radius.
Value
A representation of a dynamic CBOR value that can handled dynamically

Traits§

FromBytes
A trait for types that can be deserialized from a byte slice.

Type Aliases§

Content