Skip to main content

TokenValue

Trait TokenValue 

Source
pub trait TokenValue: Display + Sealed { }
Expand description

A value type a Token can hold.

It is implemented for the types whose value can be a var(): Color, Length, Percentage, Time, and Angle.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§