pub trait PrimitiveTypeTag<T: Sized + Default> {
// Required method
fn validate_type_shape(shape: &PrimitiveTypeShape) -> bool;
}Expand description
The tag trait indicates that this is a rust type which can be mapped into a Plumber language-neutral primitive type
Required Methods§
Sourcefn validate_type_shape(shape: &PrimitiveTypeShape) -> bool
fn validate_type_shape(shape: &PrimitiveTypeShape) -> bool
Validate the type shape
shapeThe type shape to validate
Return the validation result
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.