pub struct CodeValue {
pub xml_value: String,
pub rust_name: String,
}Expand description
A single code value within a CodeEnumDef.
Fields§
§xml_value: StringThe raw XML string value (e.g. "ADDR").
rust_name: StringThe Rust variant name in PascalCase (e.g. "Addr").
Trait Implementations§
impl StructuralPartialEq for CodeValue
Auto Trait Implementations§
impl Freeze for CodeValue
impl RefUnwindSafe for CodeValue
impl Send for CodeValue
impl Sync for CodeValue
impl Unpin for CodeValue
impl UnsafeUnpin for CodeValue
impl UnwindSafe for CodeValue
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