pub struct CardSlot {
pub card: Option<Box<dyn Card>>,
}Expand description
The slot. Empty is a real state: it answers $FF, does not ground /CD, and the I/O port’s CD-sense bit follows the expansion port, not the slot (docs/sockets.md).
Fields§
§card: Option<Box<dyn Card>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CardSlot
impl !RefUnwindSafe for CardSlot
impl !Send for CardSlot
impl !Sync for CardSlot
impl Unpin for CardSlot
impl !UnwindSafe for CardSlot
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