Enum lc3_ensemble::sim::io::SimIO
source · pub enum SimIO {
Empty,
BiChannel(BiChannelIO),
Custom(CustomIO),
}Expand description
All the variants of IO accepted by the Simulator.
Variants§
Empty
No IO. This corresponds to the implementation of EmptyIO.
BiChannel(BiChannelIO)
A bi-channel IO implementation. See BiChannelIO.
Custom(CustomIO)
A custom IO implementation. See CustomIO.
Trait Implementations§
source§impl From<BiChannelIO> for SimIO
impl From<BiChannelIO> for SimIO
source§fn from(value: BiChannelIO) -> Self
fn from(value: BiChannelIO) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SimIO
impl !RefUnwindSafe for SimIO
impl Send for SimIO
impl Sync for SimIO
impl Unpin for SimIO
impl !UnwindSafe for SimIO
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