Trait shoulda_core::shoulda_of_type::ShouldaOfType [−][src]
pub trait ShouldaOfType { fn should_type_of<I: Any + 'static>(&self) -> bool; fn should_name() -> &'static str; }
Required methods
fn should_type_of<I: Any + 'static>(&self) -> bool
[src]
fn should_type_of<I: Any + 'static>(&self) -> bool
[src]fn should_name() -> &'static str
[src]
fn should_name() -> &'static str
[src]Implementors
impl<T> ShouldaOfType for T where
T: AsRef<dyn Any>,
[src]
impl<T> ShouldaOfType for T where
T: AsRef<dyn Any>,
[src]