pub struct AddressableBankBindingPlan { /* private fields */ }Expand description
Canonical binding and transformation plan for one addressable member.
Implementations§
Source§impl AddressableBankBindingPlan
impl AddressableBankBindingPlan
Sourcepub const fn key(&self) -> ParameterBankKey
pub const fn key(&self) -> ParameterBankKey
Generic member identity.
Sourcepub fn bindings(&self) -> &[WeightBinding]
pub fn bindings(&self) -> &[WeightBinding]
Source-side canonical bindings.
Sourcepub const fn transformations(
&self,
) -> &BTreeMap<String, AddressableBindingTransform>
pub const fn transformations( &self, ) -> &BTreeMap<String, AddressableBindingTransform>
Per-binding transforms selected by architecture admission.
Sourcepub const fn selected_bytes(&self) -> u64
pub const fn selected_bytes(&self) -> u64
Exact executable bytes after all transforms.
Sourcepub const fn placement(&self) -> &AddressableBankMemberPlacement
pub const fn placement(&self) -> &AddressableBankMemberPlacement
Exact rank-local architecture placement.
Sourcepub fn into_parts(
self,
) -> (ParameterBankKey, Vec<WeightBinding>, BTreeMap<String, AddressableBindingTransform>, u64, AddressableBankMemberPlacement)
pub fn into_parts( self, ) -> (ParameterBankKey, Vec<WeightBinding>, BTreeMap<String, AddressableBindingTransform>, u64, AddressableBankMemberPlacement)
Consumes the complete canonical member plan.
Trait Implementations§
Source§impl Clone for AddressableBankBindingPlan
impl Clone for AddressableBankBindingPlan
Source§fn clone(&self) -> AddressableBankBindingPlan
fn clone(&self) -> AddressableBankBindingPlan
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 moreAuto Trait Implementations§
impl Freeze for AddressableBankBindingPlan
impl RefUnwindSafe for AddressableBankBindingPlan
impl Send for AddressableBankBindingPlan
impl Sync for AddressableBankBindingPlan
impl Unpin for AddressableBankBindingPlan
impl UnsafeUnpin for AddressableBankBindingPlan
impl UnwindSafe for AddressableBankBindingPlan
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