pub struct NullIo;Expand description
No-op register I/O that returns zeroed data for reads and ignores writes.
Useful for offline XML browsing (WASM, no camera) where register access is not available. SwissKnife expressions depending only on XML-defined constants will evaluate correctly; register-backed nodes will return zeros.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NullIo
impl RefUnwindSafe for NullIo
impl Send for NullIo
impl Sync for NullIo
impl Unpin for NullIo
impl UnwindSafe for NullIo
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