[][src]Struct virt_ic::Board

pub struct Board { /* fields omitted */ }

Implementations

impl Board[src]

pub fn new() -> Board[src]

Create a new empty Board

pub fn new_trace(&mut self) -> Rc<RefCell<Trace>>[src]

Create a new trace and return it

pub fn new_socket(&mut self) -> Rc<RefCell<Socket>>[src]

Create a new socket and return it

pub fn new_socket_with(&mut self, chip: Box<dyn Chip>) -> Rc<RefCell<Socket>>[src]

Create a new socket with a chip and return it

pub fn run(&mut self, time_elapsed: Duration)[src]

Run the circuit for a certain amount of time

pub fn run_during(&mut self, duration: Duration, step: Duration)[src]

Run the circuit for a certain amount of time segmented by a step

Trait Implementations

impl Default for Board[src]

Auto Trait Implementations

impl !RefUnwindSafe for Board

impl !Send for Board

impl !Sync for Board

impl Unpin for Board

impl !UnwindSafe for Board

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,