pub struct TestBackend {
pub buffer: Buffer,
pub lifecycle: Vec<&'static str>,
pub clipboard: Vec<String>,
}Expand description
In-memory backend: applies flushed updates to a Buffer for assertions.
Fields§
§buffer: Buffer§lifecycle: Vec<&'static str>§clipboard: Vec<String>Clipboard payloads received via copy_to_clipboard, oldest first.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestBackend
impl RefUnwindSafe for TestBackend
impl Send for TestBackend
impl Sync for TestBackend
impl Unpin for TestBackend
impl UnsafeUnpin for TestBackend
impl UnwindSafe for TestBackend
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