pub struct RetainedDataGridModel(/* private fields */);Expand description
A virtual data-grid model retained by the Mock backend.
WidgetSpec has no slot for the boxed model: Ui::set_data_grid_model
hands it straight to the lane, so the backend owns it. The shared
DataGridModel trait is object-safe without a Debug bound, so this
newtype supplies the Debug impl MockBackend’s derive needs while the
model stays reachable through MockBackend::data_grid_model.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RetainedDataGridModel
impl !Send for RetainedDataGridModel
impl !Sync for RetainedDataGridModel
impl !UnwindSafe for RetainedDataGridModel
impl Forget for RetainedDataGridModel
impl Freeze for RetainedDataGridModel
impl Move for RetainedDataGridModel
impl Unpin for RetainedDataGridModel
impl UnsafeUnpin for RetainedDataGridModel
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