Struct atomptr::Ref [−][src]
pub struct Ref<T> { /* fields omitted */ }
Expand description
An alias for a referenced pointer
Implementations
Consume this Ref wrapper to yield the underlying Arc<T>
If you want to take ownership of the underlying type data, and
you can prove that only one strong-reference Arc exists to
this type, you can use std::arc::Arc::try_unwrap()
to peel
the reference counter and take exclusive ownership.