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: TokenTrait 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 (const: unstable) · 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
Source§fn eq(&self, other: &IncludeDef) -> bool
fn eq(&self, other: &IncludeDef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IncludeDef
Auto Trait Implementations§
impl !Send for IncludeDef
impl !Sync for IncludeDef
impl Freeze for IncludeDef
impl RefUnwindSafe for IncludeDef
impl Unpin for IncludeDef
impl UnsafeUnpin 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