pub struct TypesFile {
pub enums: Vec<EnumDecl>,
pub consts: Vec<ConstDecl>,
}Expand description
The declarations of a types file.
Fields§
§enums: Vec<EnumDecl>The enums, in the order of the file.
consts: Vec<ConstDecl>The consts, in the order of the file.
Trait Implementations§
impl Eq for TypesFile
impl StructuralPartialEq for TypesFile
Auto Trait Implementations§
impl Forget for TypesFile
impl Freeze for TypesFile
impl Move for TypesFile
impl RefUnwindSafe for TypesFile
impl Send for TypesFile
impl Sync for TypesFile
impl Unpin for TypesFile
impl UnsafeUnpin for TypesFile
impl UnwindSafe for TypesFile
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