Struct udl::ast::ParsedDirective
source · pub struct ParsedDirective {
pub directive: String,
pub attributes: Vec<ParsedAttribute>,
pub arguments: Vec<ParsedExpression>,
pub from: Position,
pub to: Position,
}
Fields§
§directive: String
§attributes: Vec<ParsedAttribute>
§arguments: Vec<ParsedExpression>
§from: Position
§to: Position
Implementations§
Trait Implementations§
source§impl Clone for ParsedDirective
impl Clone for ParsedDirective
source§fn clone(&self) -> ParsedDirective
fn clone(&self) -> ParsedDirective
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Display for ParsedDirective
impl Display for ParsedDirective
source§impl From<ParsedDirective> for ParsedArgument
impl From<ParsedDirective> for ParsedArgument
source§fn from(command: ParsedDirective) -> Self
fn from(command: ParsedDirective) -> Self
Converts to this type from the input type.
source§impl PartialEq<ParsedDirective> for ParsedDirective
impl PartialEq<ParsedDirective> for ParsedDirective
source§fn eq(&self, other: &ParsedDirective) -> bool
fn eq(&self, other: &ParsedDirective) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ParsedDirective
impl StructuralEq for ParsedDirective
impl StructuralPartialEq for ParsedDirective
Auto Trait Implementations§
impl RefUnwindSafe for ParsedDirective
impl Send for ParsedDirective
impl Sync for ParsedDirective
impl Unpin for ParsedDirective
impl UnwindSafe for ParsedDirective
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