pub trait TryIntoOrCloneRef<T>: Sized {
// Required methods
fn try_into_or_clone_ref(self) -> Either<T, Self>;
fn new_from_value(value: T) -> Self;
}Required Methods§
fn try_into_or_clone_ref(self) -> Either<T, Self>
fn new_from_value(value: T) -> Self
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.