pub enum CharacterInclusionDomain {
Top,
Value((CharacterSet, CharacterSet)),
}
Expand description
The CharacterInclusionDomain
is a abstract domain describing the characters a string certainly has
and the characters a string may have.
The value comprises of a set of certainly contained characters and a set of possibly contained characters while the Top value does not get any data. However, the Top value stands for an empty set of certainly contained characters and the whole alphabet of allowed characters for the possibly contained characters.
Variants§
Top
The Top value stands for an empty set of certainly contained characters and the whole alphabet of allowed characters for the possibly contained characters.
Value((CharacterSet, CharacterSet))
The set of certainly contained characters and a set of possibly contained characters
Implementations§
source§impl CharacterInclusionDomain
impl CharacterInclusionDomain
sourcepub fn unwrap_value(&self) -> (CharacterSet, CharacterSet)
pub fn unwrap_value(&self) -> (CharacterSet, CharacterSet)
Unwraps the values from the Character Inclusion Domain
Trait Implementations§
source§impl AbstractDomain for CharacterInclusionDomain
impl AbstractDomain for CharacterInclusionDomain
source§impl Clone for CharacterInclusionDomain
impl Clone for CharacterInclusionDomain
source§fn clone(&self) -> CharacterInclusionDomain
fn clone(&self) -> CharacterInclusionDomain
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CharacterInclusionDomain
impl Debug for CharacterInclusionDomain
source§impl<'de> Deserialize<'de> for CharacterInclusionDomain
impl<'de> Deserialize<'de> for CharacterInclusionDomain
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>,
source§impl Display for CharacterInclusionDomain
impl Display for CharacterInclusionDomain
source§impl DomainInsertion for CharacterInclusionDomain
impl DomainInsertion for CharacterInclusionDomain
source§fn append_string_domain(&self, string_domain: &Self) -> CharacterInclusionDomain
fn append_string_domain(&self, string_domain: &Self) -> CharacterInclusionDomain
Append string domain as part of a concatenation. (different to merge)
source§fn create_float_value_domain() -> Self
fn create_float_value_domain() -> Self
Create a string domain that approximates float values.
source§fn create_char_domain() -> Self
fn create_char_domain() -> Self
Create a string domain that approximates char values.
source§fn create_integer_domain() -> Self
fn create_integer_domain() -> Self
Create a string domain that approximates integer values.
source§fn create_pointer_value_domain() -> Self
fn create_pointer_value_domain() -> Self
Create a string domain that approximates pointer values.
source§fn create_top_value_domain() -> Self
fn create_top_value_domain() -> Self
Creates a top value of the domain.
source§fn create_empty_string_domain() -> Self
fn create_empty_string_domain() -> Self
Create a string domain that represents an empty string.
source§impl From<String> for CharacterInclusionDomain
impl From<String> for CharacterInclusionDomain
source§impl PartialEq for CharacterInclusionDomain
impl PartialEq for CharacterInclusionDomain
source§fn eq(&self, other: &CharacterInclusionDomain) -> bool
fn eq(&self, other: &CharacterInclusionDomain) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CharacterInclusionDomain
impl Serialize for CharacterInclusionDomain
impl Eq for CharacterInclusionDomain
impl StructuralEq for CharacterInclusionDomain
impl StructuralPartialEq for CharacterInclusionDomain
Auto Trait Implementations§
impl RefUnwindSafe for CharacterInclusionDomain
impl Send for CharacterInclusionDomain
impl Sync for CharacterInclusionDomain
impl Unpin for CharacterInclusionDomain
impl UnwindSafe for CharacterInclusionDomain
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.