pub struct ExpandedArray {
pub array_term: TermId,
pub domain: Vec<i64>,
pub elements: FxHashMap<i64, TermId>,
pub element_sort: SortId,
}Expand description
Expanded array representation.
Fields§
§array_term: TermIdOriginal array term.
domain: Vec<i64>Index domain (concrete values).
elements: FxHashMap<i64, TermId>Element variables: domain_value -> element_term.
element_sort: SortIdArray element sort.
Trait Implementations§
Source§impl Clone for ExpandedArray
impl Clone for ExpandedArray
Source§fn clone(&self) -> ExpandedArray
fn clone(&self) -> ExpandedArray
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 moreAuto Trait Implementations§
impl Freeze for ExpandedArray
impl RefUnwindSafe for ExpandedArray
impl Send for ExpandedArray
impl Sync for ExpandedArray
impl Unpin for ExpandedArray
impl UnwindSafe for ExpandedArray
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<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