Struct static_cow::Change
source · pub struct Change<T>(pub T);Expand description
An Idempotent implementation which wraps a type that may yet be converted to Owning.
Tuple Fields§
§0: TTrait Implementations§
source§impl<'o, T> Idempotent<'o, T> for Change<T>where
T: 'o + IntoOwning<'o>,
T::Owning: ToOwning<'o, Owning = T::Owning>,
impl<'o, T> Idempotent<'o, T> for Change<T>where
T: 'o + IntoOwning<'o>,
T::Owning: ToOwning<'o, Owning = T::Owning>,
source§impl<'o, T> IntoOwning<'o> for Change<T>where
T: 'o + IntoOwning<'o>,
impl<'o, T> IntoOwning<'o> for Change<T>where
T: 'o + IntoOwning<'o>,
source§fn into_owning(self) -> Self::Owning
fn into_owning(self) -> Self::Owning
Converts an object which owns its contents into one which borrows them.