AlwaysShared

Trait AlwaysShared 

Source
pub trait AlwaysShared: TempRepr { }
Expand description

A marker trait that causes TempReprMut to be implemented identically to TempRepr.

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.

Implementations on Foreign Types§

Source§

impl AlwaysShared for RangeFull

Implementors§

Source§

impl<T: Clone> AlwaysShared for SelfRepr<T>

Source§

impl<T: ?Sized + ToOwned<Owned: Clone>> AlwaysShared for TempCow<T>

Available on crate feature alloc only.
Source§

impl<T: ?Sized> AlwaysShared for TempRef<T>