pub struct OutPort<T>where
T: SimObject,{ /* private fields */ }Implementations§
Source§impl<T> OutPort<T>where
T: SimObject,
impl<T> OutPort<T>where
T: SimObject,
pub fn new(parent: &Rc<Entity>, name: &str) -> Self
pub fn new_with_renames( parent: &Rc<Entity>, name: &str, aka: Option<&Aka>, ) -> Self
pub fn connect(&mut self, port_state: PortStateResult<T>) -> SimResult
pub fn put(&self, value: T) -> PortPutResult<T>
pub fn try_put(&self) -> PortTryPutResult<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for OutPort<T>
impl<T> !RefUnwindSafe for OutPort<T>
impl<T> !Send for OutPort<T>
impl<T> !Sync for OutPort<T>
impl<T> Unpin for OutPort<T>
impl<T> !UnwindSafe for OutPort<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