pub struct NestedStructDef {
pub name: String,
pub code: String,
}Expand description
One rendered nested-aggregate struct definition, paired with the name it declares so file writers can deduplicate.
Fields§
§name: Stringsnake_case name from scythe_core::analyzer::NestedStructInfo::name,
which is unique per (name, shape) within one query.
code: StringThe backend’s rendered definition.
Trait Implementations§
Source§impl Clone for NestedStructDef
impl Clone for NestedStructDef
Source§impl Debug for NestedStructDef
impl Debug for NestedStructDef
impl Eq for NestedStructDef
Source§impl PartialEq for NestedStructDef
impl PartialEq for NestedStructDef
impl StructuralPartialEq for NestedStructDef
Auto Trait Implementations§
impl Freeze for NestedStructDef
impl RefUnwindSafe for NestedStructDef
impl Send for NestedStructDef
impl Sync for NestedStructDef
impl Unpin for NestedStructDef
impl UnsafeUnpin for NestedStructDef
impl UnwindSafe for NestedStructDef
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