[][src]Struct phreak_facts::FactObject

pub struct FactObject { /* fields omitted */ }

FactObject contains grouped information around a single object.

Example: A Car can have multiple pieces of information associated: The color is red. It has 4 wheels, and 3 doors. The brand is Ferrari

This information is stored in a standardized way for the phreak algorithm, in order to efficiently match conditions against the known facts.

Implementations

impl FactObject[src]

pub fn get_name(&self) -> &String[src]

pub fn iter_attrs(&self) -> Iter<Rc<FactAttribute>>[src]

Trait Implementations

impl Clone for FactObject[src]

impl Debug for FactObject[src]

impl<'de> Deserialize<'de> for FactObject[src]

impl Hash for FactObject[src]

impl PartialEq<FactObject> for FactObject[src]

impl Serialize for FactObject[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,