[−][src]Trait crndm::convert::PFrom
Required methods
Loading content...Implementors
impl<A: MemPool, '_> PFrom<&'_ str, A> for String<A>
[src]
impl<A: MemPool, '_> PFrom<&'_ str, A> for Vec<u8, A>
[src]
impl<T: PSafe + PClone<A>, A: MemPool, '_> PFrom<Ref<'_, T, A>, A> for LogRefCell<T, A>
[src]
pub fn pfrom(other: Ref<'_, T, A>, j: &Journal<A>) -> Self
[src]
Crates a new LogRefCell
and drops the Ref
After calling this function, the Ref
won't be available anymore. It
will be possible to borrow the LogRefCell
mutably. The new
LogRefCell
has a new location with the same data.
impl<T: PSafe + PClone<A>, A: MemPool, '_> PFrom<RefMut<'_, T, A>, A> for LogRefCell<T, A>
[src]
pub fn pfrom(other: RefMut<'_, T, A>, j: &Journal<A>) -> Self
[src]
Crates a new LogRefCell
and drops the Ref
After calling this function, the Ref
won't be available anymore. It
will be possible to borrow the LogRefCell
mutably. The new
LogRefCell
has a new location with the same data.