pub struct FileSpec {
pub objects: Vec<ObjectSpec>,
pub enums: Vec<EnumSpec>,
pub items: Vec<Item>,
}Expand description
The business objects and enums of a source file, in the order written, and the items it leaves for others to read, such as functions.
Fields§
§objects: Vec<ObjectSpec>The structs with #[derive(BusinessObject)].
enums: Vec<EnumSpec>The enums with #[derive(BusinessEnum)].
items: Vec<Item>Everything else in the file.
Trait Implementations§
Auto Trait Implementations§
impl !Send for FileSpec
impl !Sync for FileSpec
impl Freeze for FileSpec
impl RefUnwindSafe for FileSpec
impl Unpin for FileSpec
impl UnsafeUnpin for FileSpec
impl UnwindSafe for FileSpec
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