Skip to main content

StyleValue

Trait StyleValue 

Source
pub trait StyleValue: Display { }
Expand description

CSS that may be placed in a style attribute.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T: StyleValue + ?Sized> StyleValue for &T

Implementors§