pub struct Seq {
pub common_params: CommonParameters,
pub children: Vec<Node>,
}
Expand description
Node for $node_type
Fields§
§common_params: CommonParameters
Common parameters
children: Vec<Node>
Childrent of the composite node
Implementations§
Source§impl Seq
impl Seq
Sourcepub fn build(
common_params: Option<CommonParameters>,
) -> NodeBuilder<Seq, NullNodeBuilder>
pub fn build( common_params: Option<CommonParameters>, ) -> NodeBuilder<Seq, NullNodeBuilder>
Start building a node
Trait Implementations§
Source§impl CompositeNode for Seq
impl CompositeNode for Seq
Source§fn build(
common_params: Option<CommonParameters>,
) -> NodeBuilder<Seq, NullNodeBuilder>
fn build( common_params: Option<CommonParameters>, ) -> NodeBuilder<Seq, NullNodeBuilder>
Start building a tree
Source§impl<'de> Deserialize<'de> for Seq
impl<'de> Deserialize<'de> for Seq
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 Executor<Seq> for SeqExecutor
impl Executor<Seq> for SeqExecutor
Source§impl IntoIterator for Seq
impl IntoIterator for Seq
Source§impl NodeTrait for Seq
impl NodeTrait for Seq
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, common_params: CommonParameters)
fn set_common_params(&mut self, common_params: CommonParameters)
Set the comment parameter for a node
Auto Trait Implementations§
impl Freeze for Seq
impl RefUnwindSafe for Seq
impl Send for Seq
impl Sync for Seq
impl Unpin for Seq
impl UnwindSafe for Seq
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