atspi_client/
table_cell_ext.rs

1use atspi_proxies::table_cell::{
2	TableCell, TableCellBlocking, TableCellProxy, TableCellProxyBlocking,
3};
4
5impl_extended_errors!(TableCellProxy<'_>, TableCellExtError);
6impl_extended_errors!(TableCellProxyBlocking<'_>, TableCellBlockingExtError);
7
8#[allow(clippy::module_name_repetitions)]
9pub trait TableCellExtError: TableCell {
10	type Error: std::error::Error;
11}
12pub trait TableCellBlockingExtError: TableCellBlocking {
13	type Error: std::error::Error;
14}
15
16pub trait TableCellExt {}
17pub trait TableCellBlockingExt {}
18
19impl<T: TableCellExtError + TableCell> TableCellExt for T {}
20impl<T: TableCellBlockingExtError + TableCellBlocking> TableCellBlockingExt for T {}
21
22assert_impl_all!(TableCellProxy: TableCell, TableCellExt);
23assert_impl_all!(TableCellProxyBlocking: TableCellBlocking, TableCellBlockingExt);