pub struct DropLink {
pub info: LinkInfo,
}
Expand description
A wrapper for LinkInfo that deletes the associated link when dropped. Mostly for testing purposes< carefully.
Fields§
§info: LinkInfo
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DropLink
impl RefUnwindSafe for DropLink
impl Send for DropLink
impl Sync for DropLink
impl Unpin for DropLink
impl UnwindSafe for DropLink
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