[−][src]Trait sp_core::crypto::IsWrappedBy
One type is wrapped by another.
Required methods
fn from_ref(outer: &Outer) -> &Self
Get a reference to the inner from the outer.
fn from_mut(outer: &mut Outer) -> &mut Self
Get a mutable reference to the inner from the outer.
Implementors
impl<T, Outer> IsWrappedBy<Outer> for T where
Outer: AsRef<Self> + AsMut<Self> + From<Self>,
T: From<Outer>,
[src]
Outer: AsRef<Self> + AsMut<Self> + From<Self>,
T: From<Outer>,