pub struct Sink<T>where
T: SimObject,{ /* private fields */ }Implementations§
Source§impl<T> Sink<T>where
T: SimObject,
impl<T> Sink<T>where
T: SimObject,
pub fn new_and_register_with_renames( engine: &Engine, clock: &Clock, parent: &Rc<Entity>, name: &str, aka: Option<&Aka>, ) -> Result<Rc<Self>, SimError>
pub fn new_and_register( engine: &Engine, clock: &Clock, parent: &Rc<Entity>, name: &str, ) -> Result<Rc<Self>, SimError>
pub fn port_rx(&self) -> PortStateResult<T>
pub fn num_sunk(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for Sink<T>
impl<T> !RefUnwindSafe for Sink<T>
impl<T> !Send for Sink<T>
impl<T> !Sync for Sink<T>
impl<T> Unpin for Sink<T>
impl<T> !UnwindSafe for Sink<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