A type which can be either a mutable reference, or an owned boxed value.
Box is used for the owned variant because this type is primarily intended for
use with unsized types, most particularly trait objects. For sized types,
it is strongly suggested to use RefMutOrOwned instead.
A type which can be either an immutable reference, or an owned boxed value.
Box is used for the owned variant because this type is primarily intended for
use with unsized types, most particularly trait objects. For sized types,
it is strongly suggested to use RefOrOwned instead.