pub struct ParameterBankKey { /* private fields */ }Expand description
Stable mechanism identity for one member of an independently addressable bank.
Implementations§
Source§impl ParameterBankKey
impl ParameterBankKey
Sourcepub const fn new(unit: usize, member: usize) -> Self
pub const fn new(unit: usize, member: usize) -> Self
Creates one generic bank member identity after semantic translation.
Sourcepub const fn member(self) -> usize
pub const fn member(self) -> usize
Returns the member ordinal within the architecture’s global bank namespace.
Sourcepub fn unit_id(self) -> OffloadUnitId
pub fn unit_id(self) -> OffloadUnitId
Returns the deterministic residency unit identifier.
Trait Implementations§
Source§impl Clone for ParameterBankKey
impl Clone for ParameterBankKey
Source§fn clone(&self) -> ParameterBankKey
fn clone(&self) -> ParameterBankKey
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 Copy for ParameterBankKey
Source§impl Debug for ParameterBankKey
impl Debug for ParameterBankKey
impl Eq for ParameterBankKey
Source§impl Hash for ParameterBankKey
impl Hash for ParameterBankKey
Source§impl Ord for ParameterBankKey
impl Ord for ParameterBankKey
Source§fn cmp(&self, other: &ParameterBankKey) -> Ordering
fn cmp(&self, other: &ParameterBankKey) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ParameterBankKey
impl PartialEq for ParameterBankKey
Source§impl PartialOrd for ParameterBankKey
impl PartialOrd for ParameterBankKey
impl StructuralPartialEq for ParameterBankKey
Auto Trait Implementations§
impl Freeze for ParameterBankKey
impl RefUnwindSafe for ParameterBankKey
impl Send for ParameterBankKey
impl Sync for ParameterBankKey
impl Unpin for ParameterBankKey
impl UnsafeUnpin for ParameterBankKey
impl UnwindSafe for ParameterBankKey
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