taffy::style_helpers

Trait TaffyMaxContent

Source
pub trait TaffyMaxContent {
    const MAX_CONTENT: Self;
}
Expand description

Trait to abstract over max_content values

Required Associated Constants§

Source

const MAX_CONTENT: Self

The max_content value for type implementing TaffyZero

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T: TaffyMaxContent> TaffyMaxContent for Option<T>

Implementors§