pub struct IndexedSegmentElement<Hart>where
Hart: VectorHartConfig,{ /* private fields */ }Expand description
Body element of an IndexedSegmentGroup, see IndexedSegmentGroup::elements()
Implementations§
Source§impl<Hart> IndexedSegmentElement<Hart>where
Hart: VectorHartConfig,
impl<Hart> IndexedSegmentElement<Hart>where
Hart: VectorHartConfig,
Sourcepub const fn element(self) -> SegmentElement<Hart>
pub const fn element(self) -> SegmentElement<Hart>
The element of the segment group
Sourcepub fn read_index(self, vregs: &VectorRegisterFile<Hart>) -> u64
pub fn read_index(self, vregs: &VectorRegisterFile<Hart>) -> u64
The index of this element, zero-extended, which is the offset of indexed loads and stores
Trait Implementations§
Source§impl<Hart> Clone for IndexedSegmentElement<Hart>where
Hart: VectorHartConfig + Clone,
impl<Hart> Clone for IndexedSegmentElement<Hart>where
Hart: VectorHartConfig + Clone,
Source§fn clone(&self) -> IndexedSegmentElement<Hart>
fn clone(&self) -> IndexedSegmentElement<Hart>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<Hart> Copy for IndexedSegmentElement<Hart>where
Hart: VectorHartConfig + Copy,
Auto Trait Implementations§
impl<Hart> Freeze for IndexedSegmentElement<Hart>
impl<Hart> RefUnwindSafe for IndexedSegmentElement<Hart>
impl<Hart> Send for IndexedSegmentElement<Hart>
impl<Hart> Sync for IndexedSegmentElement<Hart>
impl<Hart> Unpin for IndexedSegmentElement<Hart>
impl<Hart> UnsafeUnpin for IndexedSegmentElement<Hart>
impl<Hart> UnwindSafe for IndexedSegmentElement<Hart>
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