Trait common::PureOrWrapped
source · pub trait PureOrWrapped<Regular>: From<Regular> + Into<Option<Regular>> {
// Required methods
fn is_pure(&self) -> bool;
fn is_wrapped_regular(&self) -> bool;
fn is_wrapped(&self) -> bool;
}
Required Methods§
sourcefn is_wrapped_regular(&self) -> bool
fn is_wrapped_regular(&self) -> bool
The entity is a wrapped Regular
.
sourcefn is_wrapped(&self) -> bool
fn is_wrapped(&self) -> bool
The entity is wrapped.
Implementors§
impl<A> PureOrWrapped<A> for A
PureOrWrapped is reflexive.