pub struct RealtimeWeightLoweringRequirement { /* private fields */ }Expand description
One exact named source-to-execution weight lowering required by an architecture.
Implementations§
Source§impl RealtimeWeightLoweringRequirement
impl RealtimeWeightLoweringRequirement
Sourcepub fn new(
target: RealtimeIdentity,
components: impl IntoIterator<Item = RealtimeWeightComponentRequirement>,
descriptor: WeightLoweringDescriptor,
kind: WeightLoweringKind,
) -> Result<Self, RealtimeContractError>
pub fn new( target: RealtimeIdentity, components: impl IntoIterator<Item = RealtimeWeightComponentRequirement>, descriptor: WeightLoweringDescriptor, kind: WeightLoweringKind, ) -> Result<Self, RealtimeContractError>
Binds one executable matrix target to its complete atomic component family.
Sourcepub const fn target(&self) -> &RealtimeIdentity
pub const fn target(&self) -> &RealtimeIdentity
Returns the exact canonical executable parameter target.
Sourcepub fn components(&self) -> &[RealtimeWeightComponentRequirement]
pub fn components(&self) -> &[RealtimeWeightComponentRequirement]
Returns the complete atomic component family in architecture order.
Sourcepub fn primary(&self) -> &RealtimeWeightComponentRequirement
pub fn primary(&self) -> &RealtimeWeightComponentRequirement
Returns the unique primary component.
Sourcepub fn scale(&self) -> Option<&RealtimeWeightComponentRequirement>
pub fn scale(&self) -> Option<&RealtimeWeightComponentRequirement>
Returns the optional scale companion.
Sourcepub fn affine_bias(&self) -> Option<&RealtimeWeightComponentRequirement>
pub fn affine_bias(&self) -> Option<&RealtimeWeightComponentRequirement>
Returns the optional affine-bias companion.
Sourcepub const fn descriptor(&self) -> &WeightLoweringDescriptor
pub const fn descriptor(&self) -> &WeightLoweringDescriptor
Returns the exact geometry-bearing backend lowering query.
Sourcepub const fn kind(&self) -> WeightLoweringKind
pub const fn kind(&self) -> WeightLoweringKind
Returns the required direct, derived, transforming, or combined route.
Trait Implementations§
Source§impl Clone for RealtimeWeightLoweringRequirement
impl Clone for RealtimeWeightLoweringRequirement
Source§fn clone(&self) -> RealtimeWeightLoweringRequirement
fn clone(&self) -> RealtimeWeightLoweringRequirement
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 Eq for RealtimeWeightLoweringRequirement
impl StructuralPartialEq for RealtimeWeightLoweringRequirement
Auto Trait Implementations§
impl Freeze for RealtimeWeightLoweringRequirement
impl RefUnwindSafe for RealtimeWeightLoweringRequirement
impl Send for RealtimeWeightLoweringRequirement
impl Sync for RealtimeWeightLoweringRequirement
impl Unpin for RealtimeWeightLoweringRequirement
impl UnsafeUnpin for RealtimeWeightLoweringRequirement
impl UnwindSafe for RealtimeWeightLoweringRequirement
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