pub enum MatrixTheory {
Arrays,
Atomic,
}Expand description
The theory to use when encoding CO integers through the SMT solver adaptor.
Variants§
Arrays
Directly encode matrices as SMT Arrays
Atomic
Decompose arrays into auxiliary variables using the matrix_to_atom representation
Trait Implementations§
Source§impl Clone for MatrixTheory
impl Clone for MatrixTheory
Source§fn clone(&self) -> MatrixTheory
fn clone(&self) -> MatrixTheory
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 MatrixTheory
impl Debug for MatrixTheory
Source§impl Default for MatrixTheory
impl Default for MatrixTheory
Source§fn default() -> MatrixTheory
fn default() -> MatrixTheory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MatrixTheory
impl<'de> Deserialize<'de> for MatrixTheory
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 Display for MatrixTheory
impl Display for MatrixTheory
Source§impl FromStr for MatrixTheory
impl FromStr for MatrixTheory
Source§impl Hash for MatrixTheory
impl Hash for MatrixTheory
Source§impl IntoEnumIterator for MatrixTheory
impl IntoEnumIterator for MatrixTheory
type Iterator = MatrixTheoryIter
fn iter() -> MatrixTheoryIter ⓘ
Source§impl JsonSchema for MatrixTheory
impl JsonSchema for MatrixTheory
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for MatrixTheory
impl PartialEq for MatrixTheory
Source§impl Serialize for MatrixTheory
impl Serialize for MatrixTheory
Source§impl TryFrom<&str> for MatrixTheory
impl TryFrom<&str> for MatrixTheory
Source§impl ValueEnum for MatrixTheory
impl ValueEnum for MatrixTheory
impl Copy for MatrixTheory
impl Eq for MatrixTheory
impl StructuralPartialEq for MatrixTheory
Auto Trait Implementations§
impl Freeze for MatrixTheory
impl RefUnwindSafe for MatrixTheory
impl Send for MatrixTheory
impl Sync for MatrixTheory
impl Unpin for MatrixTheory
impl UnwindSafe for MatrixTheory
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Arrays: 0 bytesAtomic: 0 bytes