pub struct TargetAxes { /* private fields */ }Expand description
The two ordered axes of a run, and the only source of HostIdx and
OtpIdx.
Implementations§
Source§impl TargetAxes
impl TargetAxes
pub fn hosts(&self) -> &[HostTag]
pub fn build(&self) -> HostIdx
pub fn host_tag(&self, index: HostIdx) -> &HostTag
pub fn otp_tag(&self, index: OtpIdx) -> &OtpTag
pub fn host_indices(&self) -> impl Iterator<Item = HostIdx> + use<>
pub fn otp_indices(&self) -> impl Iterator<Item = OtpIdx> + use<>
Trait Implementations§
Source§impl Clone for TargetAxes
impl Clone for TargetAxes
Source§impl Debug for TargetAxes
impl Debug for TargetAxes
impl Eq for TargetAxes
Source§impl PartialEq for TargetAxes
impl PartialEq for TargetAxes
impl StructuralPartialEq for TargetAxes
Auto Trait Implementations§
impl Forget for TargetAxes
impl Freeze for TargetAxes
impl Move for TargetAxes
impl RefUnwindSafe for TargetAxes
impl Send for TargetAxes
impl Sync for TargetAxes
impl Unpin for TargetAxes
impl UnsafeUnpin for TargetAxes
impl UnwindSafe for TargetAxes
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