pub struct Port(/* private fields */);Available on crate feature
cgb only.Expand description
The port, open and drawing current.
Dropping this leaves it that way. close is what puts it
back down.
Implementations§
Auto Trait Implementations§
impl BankSafe for Port
impl Freeze for Port
impl RefUnwindSafe for Port
impl Send for Port
impl Sync for Port
impl Unpin for Port
impl UnsafeUnpin for Port
impl UnwindSafe for Port
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