#[repr(C)]pub struct AbiStableDynRef {
pub object: AbiDynFatPtr,
pub retain: RetainFn,
pub release: ReleaseFn,
}Expand description
ABI-stable reference to a dyn trait object, with retain/release for safe reference counting across dynamic library boundaries.
Fields§
§object: AbiDynFatPtr§retain: RetainFn§release: ReleaseFnImplementations§
Trait Implementations§
Source§impl Clone for AbiStableDynRef
impl Clone for AbiStableDynRef
Source§fn clone(&self) -> AbiStableDynRef
fn clone(&self) -> AbiStableDynRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AbiStableDynRef
Source§impl Debug for AbiStableDynRef
impl Debug for AbiStableDynRef
impl Send for AbiStableDynRef
impl Sync for AbiStableDynRef
Auto Trait Implementations§
impl Freeze for AbiStableDynRef
impl RefUnwindSafe for AbiStableDynRef
impl Unpin for AbiStableDynRef
impl UnsafeUnpin for AbiStableDynRef
impl UnwindSafe for AbiStableDynRef
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