pub enum Node {
Noop(Noop),
Seq(Seq),
Conc(Conc),
MoveTo(MoveTo),
SearchArea(SearchArea),
}
Expand description
Represent a TST node
Variants§
Noop(Noop)
Noop node
Seq(Seq)
Sequential node
Conc(Conc)
Concurrent node
MoveTo(MoveTo)
MoveTo node
SearchArea(SearchArea)
SearchArea node
Implementations§
Trait Implementations§
Source§impl<TNode> Accumulator<Node> for TransformerAccumulator<TNode>where
TNode: CompositeNode,
impl<TNode> Accumulator<Node> for TransformerAccumulator<TNode>where
TNode: CompositeNode,
Source§impl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
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<T, U: NodeBuilderTrait> From<NodeBuilder<T, U>> for Node
impl<T, U: NodeBuilderTrait> From<NodeBuilder<T, U>> for Node
Source§fn from(value: NodeBuilder<T, U>) -> Self
fn from(value: NodeBuilder<T, U>) -> Self
Converts to this type from the input type.
Source§impl From<SearchArea> for Node
impl From<SearchArea> for Node
Source§fn from(v: SearchArea) -> Node
fn from(v: SearchArea) -> Node
Converts to this type from the input type.
Source§impl<TNode> Mapper<TNode, Node> for IdentityMapper
impl<TNode> Mapper<TNode, Node> for IdentityMapper
Source§impl NodeTrait for Node
impl NodeTrait for Node
Source§fn common_params_ref(&self) -> &CommonParameters
fn common_params_ref(&self) -> &CommonParameters
Return a reference to the common params of a node
Source§fn set_common_params(&mut self, __enum_dispatch_arg_0: CommonParameters)
fn set_common_params(&mut self, __enum_dispatch_arg_0: CommonParameters)
Set the comment parameter for a node
Source§impl TryInto<SearchArea> for Node
impl TryInto<SearchArea> for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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,
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