pub struct Booted {
pub chip: Box<dyn Chip>,
pub board: Rc<RefCell<Board>>,
pub circuit: Circuit,
}Expand description
A booted circuit: the chip that runs it and the board it drives.
Fields§
§chip: Box<dyn Chip>§board: Rc<RefCell<Board>>The same board the chip was given, kept so a host can ask about parts, probes and the display without reaching through the backend.
circuit: CircuitThe parsed diagram, kept so part enumeration reports the ids the host wrote rather than the prefixed ids a board expansion invents.
Auto Trait Implementations§
impl !RefUnwindSafe for Booted
impl !Send for Booted
impl !Sync for Booted
impl !UnwindSafe for Booted
impl Forget for Booted
impl Freeze for Booted
impl Move for Booted
impl Unpin for Booted
impl UnsafeUnpin for Booted
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more