pub enum ComponentDecoration<TParameters> {
IntegrationTest(TestDecoration<TParameters>),
Suite(SuiteAttributesDecoration),
TearDown(BookEndDecoration<TParameters>),
Setup(BookEndDecoration<TParameters>),
}
Variants
IntegrationTest(TestDecoration<TParameters>)
Suite(SuiteAttributesDecoration)
TearDown(BookEndDecoration<TParameters>)
Setup(BookEndDecoration<TParameters>)
Implementations
sourceimpl<TParameters> ComponentDecoration<TParameters>
impl<TParameters> ComponentDecoration<TParameters>
pub fn name(&self) -> Option<&'static str>
pub fn description(&self) -> Option<&'static str>
pub fn location(&self) -> &ComponentLocation
pub fn component_type(&self) -> ComponentType
pub fn into_delegate(self) -> Option<Delegate<TParameters>>
Trait Implementations
Auto Trait Implementations
impl<TParameters> RefUnwindSafe for ComponentDecoration<TParameters>
impl<TParameters> Send for ComponentDecoration<TParameters>
impl<TParameters> Sync for ComponentDecoration<TParameters>
impl<TParameters> Unpin for ComponentDecoration<TParameters>
impl<TParameters> UnwindSafe for ComponentDecoration<TParameters>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more