pub struct IncludeDef {
pub pos: Position,
pub path: Token,
pub typ: Token,
}
Expand description
Encodes an import statement in the UCG AST.
Fields§
§pos: Position
§path: Token
§typ: Token
Trait Implementations§
Source§impl Clone for IncludeDef
impl Clone for IncludeDef
Source§fn clone(&self) -> IncludeDef
fn clone(&self) -> IncludeDef
Returns a duplicate 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 Debug for IncludeDef
impl Debug for IncludeDef
Source§impl PartialEq for IncludeDef
impl PartialEq for IncludeDef
impl StructuralPartialEq for IncludeDef
Auto Trait Implementations§
impl Freeze for IncludeDef
impl RefUnwindSafe for IncludeDef
impl Send for IncludeDef
impl Sync for IncludeDef
impl Unpin for IncludeDef
impl UnwindSafe for IncludeDef
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