pub struct Inputs<T, const MAX: isize = -1, const MIN: isize = 0>(/* private fields */);Expand description
An input port of type T.
Note that Inputs implements Copy, whereas Outputs doesn’t.
Implementations§
Trait Implementations§
Source§impl<T, const MAX: isize, const MIN: isize> Into<InputPortId> for &Inputs<T, MAX, MIN>
impl<T, const MAX: isize, const MIN: isize> Into<InputPortId> for &Inputs<T, MAX, MIN>
Source§fn into(self) -> InputPortId
fn into(self) -> InputPortId
Converts this type into the (usually inferred) input type.
Source§impl<T: Ord, const MAX: isize, const MIN: isize> Ord for Inputs<T, MAX, MIN>
impl<T: Ord, const MAX: isize, const MIN: isize> Ord for Inputs<T, MAX, MIN>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialOrd, const MAX: isize, const MIN: isize> PartialOrd for Inputs<T, MAX, MIN>
impl<T: PartialOrd, const MAX: isize, const MIN: isize> PartialOrd for Inputs<T, MAX, MIN>
impl<T: Copy, const MAX: isize, const MIN: isize> Copy for Inputs<T, MAX, MIN>
impl<T: Eq, const MAX: isize, const MIN: isize> Eq for Inputs<T, MAX, MIN>
impl<T, const MAX: isize, const MIN: isize> StructuralPartialEq for Inputs<T, MAX, MIN>
Auto Trait Implementations§
impl<T, const MAX: isize, const MIN: isize> Freeze for Inputs<T, MAX, MIN>
impl<T, const MAX: isize, const MIN: isize> RefUnwindSafe for Inputs<T, MAX, MIN>where
T: RefUnwindSafe,
impl<T, const MAX: isize, const MIN: isize> Send for Inputs<T, MAX, MIN>where
T: Send,
impl<T, const MAX: isize, const MIN: isize> Sync for Inputs<T, MAX, MIN>where
T: Sync,
impl<T, const MAX: isize, const MIN: isize> Unpin for Inputs<T, MAX, MIN>where
T: Unpin,
impl<T, const MAX: isize, const MIN: isize> UnwindSafe for Inputs<T, MAX, MIN>where
T: UnwindSafe,
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