Skip to main content

ValidAlignment

Trait ValidAlignment 

Source
pub trait ValidAlignment: HasAlignedType { }
Expand description

For all alignments ALIGN that ZstCache supports, Alignment<ALIGN> will implement this trait.

All positive powers of 2 up to 2^29 are supported.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T: HasAlignedType> ValidAlignment for T