PropertyConstraint

Trait PropertyConstraint 

pub trait PropertyConstraint: 'static {
    const ALLOWED: PropertyIdSet;
}
Expand description

Marker trait describing which property IDs are permitted in a Properties or PropertiesBuf collection.

Implementors are zero-sized marker types used purely at the type level; the allowed set is exposed through the ALLOWED associated constant.

Required Associated Constants§

const ALLOWED: PropertyIdSet

The set of PropertyIds that are permitted under this constraint.

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.

Implementors§