pub enum PlanningAnnotation {
PlanningVariable {
allows_unassigned: bool,
},
PlanningId,
PlanningScore,
ValueRangeProvider,
ProblemFactCollectionProperty,
PlanningEntityCollectionProperty,
}Expand description
Planning annotation types matching Java’s PlanningAnnotation hierarchy
Variants§
PlanningVariable
PlanningId
PlanningScore
ValueRangeProvider
ProblemFactCollectionProperty
PlanningEntityCollectionProperty
Implementations§
Source§impl PlanningAnnotation
impl PlanningAnnotation
pub fn planning_variable() -> Self
pub fn planning_variable_allows_unassigned() -> Self
pub fn planning_id() -> Self
pub fn planning_score() -> Self
pub fn value_range_provider() -> Self
pub fn problem_fact_collection_property() -> Self
pub fn planning_entity_collection_property() -> Self
Trait Implementations§
Source§impl Clone for PlanningAnnotation
impl Clone for PlanningAnnotation
Source§fn clone(&self) -> PlanningAnnotation
fn clone(&self) -> PlanningAnnotation
Returns a duplicate of the value. Read more
1.0.0 · 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 PlanningAnnotation
impl Debug for PlanningAnnotation
Source§impl<'de> Deserialize<'de> for PlanningAnnotation
impl<'de> Deserialize<'de> for PlanningAnnotation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PlanningAnnotation
impl PartialEq for PlanningAnnotation
Source§impl Serialize for PlanningAnnotation
impl Serialize for PlanningAnnotation
impl Eq for PlanningAnnotation
impl StructuralPartialEq for PlanningAnnotation
Auto Trait Implementations§
impl Freeze for PlanningAnnotation
impl RefUnwindSafe for PlanningAnnotation
impl Send for PlanningAnnotation
impl Sync for PlanningAnnotation
impl Unpin for PlanningAnnotation
impl UnwindSafe for PlanningAnnotation
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.