[−][src]Struct differential_formula::term::Variable
Fields
var: String
fragments: Vec<String>
Methods
impl Variable
[src]
pub fn new(var: String, fragments: Vec<String>) -> Self
[src]
pub fn fragments_diff(a: &Term, b: &Term) -> Option<Vec<String>>
[src]
Trait Implementations
impl Clone for Variable
[src]
impl Debug for Variable
[src]
impl<'de> Deserialize<'de> for Variable
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for Variable
[src]
impl Eq for Variable
[src]
impl From<Variable> for Term
[src]
impl Hash for Variable
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Variable
[src]
fn cmp(&self, other: &Variable) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Variable> for Variable
[src]
impl PartialOrd<Variable> for Variable
[src]
fn partial_cmp(&self, other: &Variable) -> Option<Ordering>
[src]
fn lt(&self, other: &Variable) -> bool
[src]
fn le(&self, other: &Variable) -> bool
[src]
fn gt(&self, other: &Variable) -> bool
[src]
fn ge(&self, other: &Variable) -> bool
[src]
impl Serialize for Variable
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for Variable
[src]
impl StructuralPartialEq for Variable
[src]
impl TermBehavior for Variable
[src]
fn variables(&self) -> HashSet<Term>
[src]
fn get_bindings_in_place<T>(&self, binding: &mut T, term: &Term) -> bool where
T: GenericMap<Term, Term>,
[src]
T: GenericMap<Term, Term>,
fn get_bindings(&self, term: &Term) -> Option<HashMap<Term, Term>>
[src]
fn get_ordered_bindings(&self, term: &Term) -> Option<OrdMap<Term, Term>>
[src]
fn is_groundterm(&self) -> bool
[src]
fn propagate_bindings<T: GenericMap<Term, Term>>(&self, map: &T) -> Term
[src]
fn propagate_reverse_bindings<T: GenericMap<Term, String>>(
&self,
reverse_map: &T
) -> Term
[src]
&self,
reverse_map: &T
) -> Term
fn is_dc_variable(&self) -> bool
[src]
fn root_var(&self) -> Term
[src]
fn get_subterm_by_label(&self, label: &String) -> Option<Term>
[src]
fn get_subterm_by_labels(&self, labels: &Vec<String>) -> Option<Term>
[src]
impl TryInto<Variable> for Term
[src]
Auto Trait Implementations
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnwindSafe for Variable
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Data for T where
T: 'static + Send + Sync + Any + Deserialize<'a> + Serialize,
T: 'static + Send + Sync + Any + Deserialize<'a> + Serialize,
impl<T> Data for T where
T: 'static + Clone,
[src]
T: 'static + Clone,
impl<T> Data for T where
T: Ord + Debug + Data,
[src]
T: Ord + Debug + Data,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> ExchangeData for T where
T: Data + Data,
[src]
T: Data + Data,
impl<T> ExchangeData for T where
T: Ord + Debug + ExchangeData,
[src]
T: Ord + Debug + ExchangeData,
impl<T> From<T> for T
[src]
impl<T> Hashable for T where
T: Hash,
[src]
T: Hash,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,