struct ExecPortIndex {
index: u8,
}
Expand description
One single execution port
Formatted to use easily as an array index. It’s helpful for this to be a compact data type.
Fields§
§index: u8
Equivalent to a bit position in model::ExecPorts
.
Trait Implementations§
Source§impl Clone for ExecPortIndex
impl Clone for ExecPortIndex
Source§fn clone(&self) -> ExecPortIndex
fn clone(&self) -> ExecPortIndex
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExecPortIndex
impl Debug for ExecPortIndex
Source§impl PartialEq for ExecPortIndex
impl PartialEq for ExecPortIndex
impl Copy for ExecPortIndex
impl Eq for ExecPortIndex
impl StructuralPartialEq for ExecPortIndex
Auto Trait Implementations§
impl Freeze for ExecPortIndex
impl RefUnwindSafe for ExecPortIndex
impl Send for ExecPortIndex
impl Sync for ExecPortIndex
impl Unpin for ExecPortIndex
impl UnwindSafe for ExecPortIndex
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