pub struct FerroTestApplicationAttribute { /* private fields */ }Expand description
Sets up global test framework using the application builder passed as a parameter.
Implementations§
Source§impl FerroTestApplicationAttribute
impl FerroTestApplicationAttribute
Sourcepub const fn new(app_builder_entry_point_type: fn() -> AppBuilder) -> Self
pub const fn new(app_builder_entry_point_type: fn() -> AppBuilder) -> Self
Creates instance of FerroTestApplicationAttribute.
app_builder_entry_point_type is the parameter from which
AppBuilder should be created. The original takes a type that has
a method which builds the application or that inherits the
application class, and finds the method through reflection; here it
is that method (AppBuilder::configure::<TApp> for a type that
inherits the application class).
pub fn app_builder_entry_point_type(&self) -> fn() -> AppBuilder
Trait Implementations§
impl Copy for FerroTestApplicationAttribute
Auto Trait Implementations§
impl Freeze for FerroTestApplicationAttribute
impl RefUnwindSafe for FerroTestApplicationAttribute
impl Send for FerroTestApplicationAttribute
impl Sync for FerroTestApplicationAttribute
impl Unpin for FerroTestApplicationAttribute
impl UnsafeUnpin for FerroTestApplicationAttribute
impl UnwindSafe for FerroTestApplicationAttribute
Blanket Implementations§
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