pub struct WebClientConfig {
pub async_task_spawner: Arc<dyn AsyncTaskSpawner>,
pub previews: Vec<Preview>,
}Expand description
Configuration for the Percy Preview web client.
Fields§
§async_task_spawner: Arc<dyn AsyncTaskSpawner>See AsyncTaskSpawner
previews: Vec<Preview>All of the view components previews.
Auto Trait Implementations§
impl Freeze for WebClientConfig
impl !RefUnwindSafe for WebClientConfig
impl !Send for WebClientConfig
impl !Sync for WebClientConfig
impl Unpin for WebClientConfig
impl !UnwindSafe for WebClientConfig
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