#[non_exhaustive]pub struct Enums {
pub name: Option<String>,
pub kind: Option<String>,
pub start: Option<i64>,
pub end: Option<i64>,
pub vendor: Option<String>,
pub comment: Option<String>,
pub children: Vec<EnumsChild>,
pub bitwidth: Option<u32>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
§kind: Option<String>
§start: Option<i64>
§end: Option<i64>
§vendor: Option<String>
§comment: Option<String>
§children: Vec<EnumsChild>
§bitwidth: Option<u32>
Trait Implementations§
source§impl PartialEq for Enums
impl PartialEq for Enums
impl Eq for Enums
impl StructuralPartialEq for Enums
Auto Trait Implementations§
impl Freeze for Enums
impl RefUnwindSafe for Enums
impl Send for Enums
impl Sync for Enums
impl Unpin for Enums
impl UnwindSafe for Enums
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