[−][src]Trait restor::Unit
Required methods
fn one<'a>(&'a self) -> Result<Ref<'a, dyn Any>, ErrorDesc>
fn one_mut<'a>(&'a self) -> Result<RefMut<'a, dyn Any>, ErrorDesc>
fn ind<'a>(&'a self, ind: usize) -> Result<Ref<'a, dyn Any>, ErrorDesc>
fn ind_mut<'a>(&'a self, ind: usize) -> Result<RefMut<'a, dyn Any>, ErrorDesc>
fn extract(&self) -> Result<Box<dyn Any>, ErrorDesc>
fn extract_ind(&self, ind: usize) -> Result<Box<dyn Any>, ErrorDesc>
fn extract_many(&self) -> Result<Box<dyn Any>, ErrorDesc>
fn insert_any(&self, new: Box<dyn Any>) -> Option<(Box<dyn Any>, ErrorDesc)>
fn is_guarded(&self) -> bool
fn to_guarded(&self) -> Option<&()>
fn id(&self) -> TypeId
Trait Implementations
impl PartialEq<dyn Unit + 'static> for dyn Unit
[src]
fn eq(&self, other: &Self) -> bool
[src]
#[must_use]
default fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
default fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.