pub struct AddressableBankParameter { /* private fields */ }Expand description
One exact selected parameter in an independently addressable bank member.
Implementations§
Source§impl AddressableBankParameter
impl AddressableBankParameter
Sourcepub fn new(
binding_name: impl Into<String>,
task: ReplicatedTextMaterializationTask,
recipe: DerivedWeightRecipe,
source_output: RecipeMetadata,
selected_bytes: u64,
quantization_companions: Option<QuantizationCompanionBindings>,
) -> Result<Self, AddressableBankMemberError>
pub fn new( binding_name: impl Into<String>, task: ReplicatedTextMaterializationTask, recipe: DerivedWeightRecipe, source_output: RecipeMetadata, selected_bytes: u64, quantization_companions: Option<QuantizationCompanionBindings>, ) -> Result<Self, AddressableBankMemberError>
Retains and validates one selected task and its member-local recipe.
Sourcepub fn binding_name(&self) -> &str
pub fn binding_name(&self) -> &str
Returns the local grouped-operator binding name.
Sourcepub const fn task(&self) -> &ReplicatedTextMaterializationTask
pub const fn task(&self) -> &ReplicatedTextMaterializationTask
Returns the complete authoritative selected materialization task.
Sourcepub const fn recipe(&self) -> &DerivedWeightRecipe
pub const fn recipe(&self) -> &DerivedWeightRecipe
Returns the exact member-local source recipe.
Sourcepub const fn source_output(&self) -> &RecipeMetadata
pub const fn source_output(&self) -> &RecipeMetadata
Returns admitted metadata for the member-local source recipe.
Sourcepub const fn source_bytes(&self) -> u64
pub const fn source_bytes(&self) -> u64
Returns source bytes before an optional lowering.
Sourcepub const fn selected_bytes(&self) -> u64
pub const fn selected_bytes(&self) -> u64
Returns executable bytes after the selected lowering.
Sourcepub const fn quantization_companions(
&self,
) -> Option<&QuantizationCompanionBindings>
pub const fn quantization_companions( &self, ) -> Option<&QuantizationCompanionBindings>
Returns exact local scale and affine-bias binding names for a transform.
Trait Implementations§
Source§impl Clone for AddressableBankParameter
impl Clone for AddressableBankParameter
Source§fn clone(&self) -> AddressableBankParameter
fn clone(&self) -> AddressableBankParameter
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 moreSource§impl Debug for AddressableBankParameter
impl Debug for AddressableBankParameter
impl Eq for AddressableBankParameter
Source§impl PartialEq for AddressableBankParameter
impl PartialEq for AddressableBankParameter
impl StructuralPartialEq for AddressableBankParameter
Auto Trait Implementations§
impl Freeze for AddressableBankParameter
impl RefUnwindSafe for AddressableBankParameter
impl Send for AddressableBankParameter
impl Sync for AddressableBankParameter
impl Unpin for AddressableBankParameter
impl UnsafeUnpin for AddressableBankParameter
impl UnwindSafe for AddressableBankParameter
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