pub struct DynamicScalarAssignmentMetadataCapabilities {
pub required_entity: bool,
pub capacity_key: bool,
pub position_key: bool,
pub sequence_key: bool,
pub entity_order: bool,
pub value_order: bool,
pub assignment_rule: bool,
}Expand description
Structural capabilities supplied by a dynamic scalar-assignment group.
A capability says whether metadata is declared, rather than inferring that fact from a value returned while solving. The solver uses this distinction when validating construction heuristics and assignment-rule dependencies.
Fields§
§required_entity: bool§capacity_key: bool§position_key: bool§sequence_key: bool§entity_order: bool§value_order: bool§assignment_rule: boolTrait Implementations§
Source§impl Clone for DynamicScalarAssignmentMetadataCapabilities
impl Clone for DynamicScalarAssignmentMetadataCapabilities
Source§fn clone(&self) -> DynamicScalarAssignmentMetadataCapabilities
fn clone(&self) -> DynamicScalarAssignmentMetadataCapabilities
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 DynamicScalarAssignmentMetadataCapabilities
Source§impl Default for DynamicScalarAssignmentMetadataCapabilities
impl Default for DynamicScalarAssignmentMetadataCapabilities
Source§fn default() -> DynamicScalarAssignmentMetadataCapabilities
fn default() -> DynamicScalarAssignmentMetadataCapabilities
Returns the “default value” for a type. Read more
impl Eq for DynamicScalarAssignmentMetadataCapabilities
impl StructuralPartialEq for DynamicScalarAssignmentMetadataCapabilities
Auto Trait Implementations§
impl Freeze for DynamicScalarAssignmentMetadataCapabilities
impl RefUnwindSafe for DynamicScalarAssignmentMetadataCapabilities
impl Send for DynamicScalarAssignmentMetadataCapabilities
impl Sync for DynamicScalarAssignmentMetadataCapabilities
impl Unpin for DynamicScalarAssignmentMetadataCapabilities
impl UnsafeUnpin for DynamicScalarAssignmentMetadataCapabilities
impl UnwindSafe for DynamicScalarAssignmentMetadataCapabilities
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more