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 Bootedwhere
*const dyn Chip is !null: Freeze,
PhantomData<dyn Chip>: Freeze,
*const RcInner<RefCell<Board>> is !null: Freeze,
PhantomData<RcInner<RefCell<Board>>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<PartInstance>: Freeze,
PhantomData<Connection>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for Booted
impl Unpin for Booted
impl UnsafeUnpin for Bootedwhere
*const dyn Chip is !null: UnsafeUnpin,
PhantomData<dyn Chip>: UnsafeUnpin,
*const RcInner<RefCell<Board>> is !null: UnsafeUnpin,
PhantomData<RcInner<RefCell<Board>>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PartInstance>: UnsafeUnpin,
PhantomData<Connection>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
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