pub struct SeaRc;Expand description
A legacy namespace for compatibility.
Itโs needed, so that most existing SeaRc::new calls keep working.
This used to be an actual type
(a reference-counted pointer with special impls for dyn Iden contents).
Itโs not needed anymore.
Implementationsยง
Sourceยงimpl SeaRc
impl SeaRc
Sourcepub fn new<I>(i: I) -> DynIdenwhere
I: Iden,
pub fn new<I>(i: I) -> DynIdenwhere
I: Iden,
A legacy method, kept for compatibility.
Nowadays, instead of wrapping an Iden object,
it eagerly โrendersโ it into a string and then drops the object.
Note that most Idens are statically known
and their representations arenโt actually โrenderedโ and allocated at runtime.
pub fn clone(iden: &DynIden) -> DynIden
Trait Implementationsยง
Auto Trait Implementationsยง
impl Freeze for SeaRc
impl RefUnwindSafe for SeaRc
impl Send for SeaRc
impl Sync for SeaRc
impl Unpin for SeaRc
impl UnsafeUnpin for SeaRc
impl UnwindSafe for SeaRc
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more