pub struct ActionGroup {
pub combinator: Combinator,
pub application_type: ApplicationType,
pub move_type: MoveType,
}
Expand description
Combinator
with configuration.
Fields§
§combinator: Combinator
§application_type: ApplicationType
§move_type: MoveType
Implementations§
Source§impl ActionGroup
impl ActionGroup
Sourcepub fn new(
combinator: Combinator,
application_type: ApplicationType,
move_type: MoveType,
) -> Self
pub fn new( combinator: Combinator, application_type: ApplicationType, move_type: MoveType, ) -> Self
Creates new ActionGroup
using provided configuration.
Sourcepub fn parse_stream(
&self,
unit_parser: &impl ParseUnit<ActionGroup>,
input: ParseStream<'_>,
) -> UnitResult<ExprGroup<ActionExpr>, ActionGroup>
pub fn parse_stream( &self, unit_parser: &impl ParseUnit<ActionGroup>, input: ParseStream<'_>, ) -> UnitResult<ExprGroup<ActionExpr>, ActionGroup>
Parses ParseStream
as ExprGroup
<ActionExpr
> using given ParseUnit
.
Trait Implementations§
Source§impl Clone for ActionGroup
impl Clone for ActionGroup
Source§fn clone(&self) -> ActionGroup
fn clone(&self) -> ActionGroup
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ActionGroup
impl Debug for ActionGroup
Source§impl<'a> ParseUnit<ActionGroup> for ActionExprChainBuilder<'a>
impl<'a> ParseUnit<ActionGroup> for ActionExprChainBuilder<'a>
Source§fn parse_unit<T: Parse + Clone + Debug>(
&self,
input: ParseStream<'_>,
allow_empty_parsed: bool,
) -> UnitResult<T, ActionGroup>
fn parse_unit<T: Parse + Clone + Debug>( &self, input: ParseStream<'_>, allow_empty_parsed: bool, ) -> UnitResult<T, ActionGroup>
Parses unit using self GroupDeterminer
’s to determine unit end.
Source§impl PartialEq for ActionGroup
impl PartialEq for ActionGroup
impl Copy for ActionGroup
impl Eq for ActionGroup
impl StructuralPartialEq for ActionGroup
Auto Trait Implementations§
impl Freeze for ActionGroup
impl RefUnwindSafe for ActionGroup
impl Send for ActionGroup
impl Sync for ActionGroup
impl Unpin for ActionGroup
impl UnwindSafe for ActionGroup
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