Trait Form

Source
pub trait Form {
    type Form<T>;
}
Expand description

The form that an object can take

This is used together with AnyObject.

An object can be bare (Bare), stored (Stored), or it can be about to be - but not yet - stored (AboutToBeStored).

Required Associated Types§

Source

type Form<T>

The form that the object takes

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§