pub struct GroupRule<'a> {
pub name: Identifier<'a>,
pub generic_params: Option<GenericParams<'a>>,
pub is_group_choice_alternate: bool,
pub entry: GroupEntry<'a>,
/* private fields */
}Expand description
Group expression
groupname [genericparm] S assigng S grpentFields§
§name: Identifier<'a>Group name identifier
generic_params: Option<GenericParams<'a>>Optional generic parameters
is_group_choice_alternate: boolExtends an existing group choice
entry: GroupEntry<'a>Group entry
Trait Implementations§
Source§impl<'a, 'b: 'a> Parent<'a, 'b, GroupRule<'a>> for GenericParams<'a>
impl<'a, 'b: 'a> Parent<'a, 'b, GroupRule<'a>> for GenericParams<'a>
Source§impl<'a, 'b: 'a> Parent<'a, 'b, GroupRule<'a>> for GroupEntry<'a>
impl<'a, 'b: 'a> Parent<'a, 'b, GroupRule<'a>> for GroupEntry<'a>
Source§impl<'a, 'b: 'a> Parent<'a, 'b, GroupRule<'a>> for Identifier<'a>
impl<'a, 'b: 'a> Parent<'a, 'b, GroupRule<'a>> for Identifier<'a>
impl<'a> StructuralPartialEq for GroupRule<'a>
Auto Trait Implementations§
impl<'a> Freeze for GroupRule<'a>
impl<'a> RefUnwindSafe for GroupRule<'a>
impl<'a> Send for GroupRule<'a>
impl<'a> Sync for GroupRule<'a>
impl<'a> Unpin for GroupRule<'a>
impl<'a> UnwindSafe for GroupRule<'a>
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