[−][src]Struct refptr::refcnt::LocalFinalize
Reference count type used by the #[refcounted]
attribute.
Trait Implementations
impl Debug for LocalFinalize
[src]
impl Refcount for LocalFinalize
[src]
type Metadata = unsafe fn(_: *const u8)
Metadata type which can be obtained from the underlying Refcounted
object.
unsafe fn new() -> Self
[src]
unsafe fn inc_strong<T: ?Sized>(ptr: *const Inner<T>) where
T: Refcounted<Rc = Self>,
[src]
T: Refcounted<Rc = Self>,
unsafe fn dec_strong<T: ?Sized>(ptr: *const Inner<T>) where
T: Refcounted<Rc = Self>,
[src]
T: Refcounted<Rc = Self>,
unsafe fn strong_count<T: ?Sized>(ptr: *const Inner<T>) -> usize where
T: Refcounted<Rc = Self>,
[src]
T: Refcounted<Rc = Self>,
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,