pub trait HasSomeConsume {
// Required methods
fn has_some(self) -> bool;
fn is_empty1(&self) -> bool;
fn has_some1(&self) -> bool;
}Expand description
The rare case where is_empty consumes self.
pub trait HasSomeConsume {
// Required methods
fn has_some(self) -> bool;
fn is_empty1(&self) -> bool;
fn has_some1(&self) -> bool;
}The rare case where is_empty consumes self.