pub struct FerroTestIsolationAttribute { /* private fields */ }Expand description
Specifies how headless unit tests should be isolated from each other, defining when the test runtime should recreate the application and dispatcher instances.
Implementations§
Source§impl FerroTestIsolationAttribute
impl FerroTestIsolationAttribute
pub const fn new(isolation_level: FerroTestIsolationLevel) -> Self
Sourcepub fn isolation_level(&self) -> FerroTestIsolationLevel
pub fn isolation_level(&self) -> FerroTestIsolationLevel
Gets the isolation level for headless tests.
Trait Implementations§
Source§impl Clone for FerroTestIsolationAttribute
impl Clone for FerroTestIsolationAttribute
impl Copy for FerroTestIsolationAttribute
Source§impl Debug for FerroTestIsolationAttribute
impl Debug for FerroTestIsolationAttribute
impl Eq for FerroTestIsolationAttribute
impl StructuralPartialEq for FerroTestIsolationAttribute
Auto Trait Implementations§
impl Freeze for FerroTestIsolationAttribute
impl RefUnwindSafe for FerroTestIsolationAttribute
impl Send for FerroTestIsolationAttribute
impl Sync for FerroTestIsolationAttribute
impl Unpin for FerroTestIsolationAttribute
impl UnsafeUnpin for FerroTestIsolationAttribute
impl UnwindSafe for FerroTestIsolationAttribute
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more