pub struct DeclFile {
pub name: String,
pub id: u64,
/* private fields */
}Expand description
encapsulate the content of a decleration file.
can only be created through parse_declaration_file.
Fields§
§name: Stringname of the file, passed though name argument in parse_declaration_file
id: u64a globally unique identifier for the file
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeclFile
impl RefUnwindSafe for DeclFile
impl Send for DeclFile
impl Sync for DeclFile
impl Unpin for DeclFile
impl UnwindSafe for DeclFile
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