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 Iden
s 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 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