pub struct Terminal {
pub terminal_member_variables: Vec<TerminalMemberVariable>,
pub terminal_stream_member_variables: Vec<TerminalStreamMemberVariable>,
pub terminals: Vec<Terminal>,
pub annotations: Option<Annotations>,
pub name: String,
pub matching_rule: String,
pub terminal_kind: Option<String>,
pub description: Option<String>,
}Fields§
§terminal_member_variables: Vec<TerminalMemberVariable>§terminal_stream_member_variables: Vec<TerminalStreamMemberVariable>§terminals: Vec<Terminal>§annotations: Option<Annotations>§name: String§matching_rule: String§terminal_kind: Option<String>§description: Option<String>Implementations§
Source§impl Terminal
impl Terminal
pub fn matching_rule_kind(&self) -> MatchingRule
pub fn validate_matching_rule(&self) -> Result<(), Error>
Trait Implementations§
impl StructuralPartialEq for Terminal
Auto Trait Implementations§
impl Freeze for Terminal
impl RefUnwindSafe for Terminal
impl Send for Terminal
impl Sync for Terminal
impl Unpin for Terminal
impl UnwindSafe for Terminal
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> 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