pub struct GoFile {
    pub package: String,
    pub imports: Vec<String>,
    pub types: Vec<GoTypeDecl>,
}Expand description
Simplified Go AST representation
Fields§
§package: String§imports: Vec<String>§types: Vec<GoTypeDecl>Trait Implementations§
Auto Trait Implementations§
impl Freeze for GoFile
impl RefUnwindSafe for GoFile
impl Send for GoFile
impl Sync for GoFile
impl Unpin for GoFile
impl UnwindSafe for GoFile
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