Trait drone_core::inventory::Item[][src]

pub trait Item: Sized {
    fn teardown(&mut self, _token: &mut GuardToken<Self>);
}

An inventory item interface.

Required methods

fn teardown(&mut self, _token: &mut GuardToken<Self>)[src]

Sets the inactive state. Called by Guard on drop.

Loading content...

Implementors

Loading content...