pub struct Lease { /* private fields */ }Expand description
The port, on loan from the engine: it derefs to the ControllerPort a
memory card or a diagnostic needs, and the engine polls nothing until it
is dropped. VBlanks that pass meanwhile are not polled, so the snapshot
stands still; keep a lease to one transaction.
Trait Implementations§
Source§impl Deref for Lease
impl Deref for Lease
Source§type Target = ControllerPort
type Target = ControllerPort
The resulting type after dereferencing.
Source§fn deref(&self) -> &ControllerPort
fn deref(&self) -> &ControllerPort
Dereferences the value.
Auto Trait Implementations§
impl Freeze for Lease
impl RefUnwindSafe for Lease
impl Send for Lease
impl Sync for Lease
impl Unpin for Lease
impl UnsafeUnpin for Lease
impl UnwindSafe for Lease
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more