pub struct Scrambler<T>where
T: SimObject,{ /* private fields */ }Implementations§
Source§impl<T> Scrambler<T>where
T: SimObject,
impl<T> Scrambler<T>where
T: SimObject,
pub fn new_and_register( engine: &Engine, clock: &Clock, parent: &Rc<Entity>, name: &str, scramble: bool, ) -> Result<Rc<Self>, SimError>
pub fn connect_port_tx_a(&self, port_state: PortStateResult<T>) -> SimResult
pub fn connect_port_tx_b(&self, port_state: PortStateResult<T>) -> SimResult
pub fn port_rx_a(&self) -> PortStateResult<T>
pub fn port_rx_b(&self) -> PortStateResult<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Scrambler<T>
impl<T> !RefUnwindSafe for Scrambler<T>
impl<T> !Send for Scrambler<T>
impl<T> !Sync for Scrambler<T>
impl<T> Unpin for Scrambler<T>
impl<T> !UnwindSafe for Scrambler<T>
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