pub enum LibraryElement {
DataTypeDeclaration(Vec<EnumerationDeclaration>),
FunctionDeclaration(FunctionDeclaration),
FunctionBlockDeclaration(FunctionBlockDeclaration),
ProgramDeclaration(ProgramDeclaration),
ConfigurationDeclaration(ConfigurationDeclaration),
}Expand description
Defines the top-level elements that are valid declarations in a library.
Variants§
DataTypeDeclaration(Vec<EnumerationDeclaration>)
FunctionDeclaration(FunctionDeclaration)
FunctionBlockDeclaration(FunctionBlockDeclaration)
ProgramDeclaration(ProgramDeclaration)
ConfigurationDeclaration(ConfigurationDeclaration)
Trait Implementations§
Source§impl Acceptor for LibraryElement
impl Acceptor for LibraryElement
Source§impl Debug for LibraryElement
impl Debug for LibraryElement
Source§impl PartialEq for LibraryElement
impl PartialEq for LibraryElement
impl StructuralPartialEq for LibraryElement
Auto Trait Implementations§
impl Freeze for LibraryElement
impl RefUnwindSafe for LibraryElement
impl Send for LibraryElement
impl Sync for LibraryElement
impl Unpin for LibraryElement
impl UnwindSafe for LibraryElement
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