#[non_exhaustive]pub struct Dropped {
pub set: usize,
pub rep: Option<usize>,
pub reason: DropReason,
}Expand description
One drop, with its reason.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.set: usizeAdaptationSet index.
rep: Option<usize>Representation index when only one Representation was dropped.
reason: DropReasonWhy.
Trait Implementations§
impl Copy for Dropped
impl Eq for Dropped
impl StructuralPartialEq for Dropped
Auto Trait Implementations§
impl Forget for Dropped
impl Freeze for Dropped
impl Move for Dropped
impl RefUnwindSafe for Dropped
impl Send for Dropped
impl Sync for Dropped
impl Unpin for Dropped
impl UnsafeUnpin for Dropped
impl UnwindSafe for Dropped
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