pub struct Token {
pub fact: Option<TypedFacts>,
pub parent: Option<Box<Token>>,
pub id: usize,
}Expand description
Token for RETE propagation Represents a fact flowing through the network
Fields§
§fact: Option<TypedFacts>Fact data
parent: Option<Box<Token>>Parent token (for join nodes)
id: usizeToken ID for tracking
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Token
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnwindSafe for Token
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