Struct testdrop::Item [] [src]

pub struct Item<'a> { /* fields omitted */ }

An item tracked by TestDrop.

This struct is created by TestDrop::new_item. See its documentation for more.

Methods

impl<'a> Item<'a>
[src]

Returns the id of this item.

Trait Implementations

impl<'a> Debug for Item<'a>
[src]

Formats the value using the given formatter.

impl<'a> PartialEq for Item<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Drop for Item<'a>
[src]

A method called when the value goes out of scope. Read more