pub struct DeleteMe<'a, T> {
pub value: &'a mut T,
pub delete: bool,
}
Expand description
Modifier to add a delete button to an item probe UI.
Fields§
§value: &'a mut T
§delete: bool
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for DeleteMe<'a, T>
impl<'a, T> RefUnwindSafe for DeleteMe<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for DeleteMe<'a, T>where
T: Send,
impl<'a, T> Sync for DeleteMe<'a, T>where
T: Sync,
impl<'a, T> Unpin for DeleteMe<'a, T>
impl<'a, T> !UnwindSafe for DeleteMe<'a, T>
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