Trait FragileBoxLike

Source
pub trait FragileBoxLike {
    type Container<T: ?Sized>: FragileMutContainer<T>;
}
Available on crate feature kinds only.
Expand description

A container kind trait based on how Box<T> acts as a container for T.

Box<T>, however, is not a fragile container; this kind trait loosens that requirement.

Has strictly tighter requirements than FragileTLike.

Required Associated Types§

Source

type Container<T: ?Sized>: FragileMutContainer<T>

A Box<T>-like container type, but permitted to be fragile.

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§