pub struct WeakScope(/* private fields */);Expand description
A WeakScope is a interior-mutable RwLock holding a map of weak
shape references that can be used to resolve the Names of
ShapeCase::Name shapes. Though this struct is pub, its
[Ref<RwLock<WeakShapeMap>>] parameter is not, so you cannot
directly create your own WeakScope outside this crate.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WeakScope
impl RefUnwindSafe for WeakScope
impl Send for WeakScope
impl Sync for WeakScope
impl Unpin for WeakScope
impl UnsafeUnpin for WeakScope
impl UnwindSafe for WeakScope
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