pub struct DeclaredNodeStructure {
pub inline: Option<bool>,
pub children: Option<NodeChildrenConfig>,
pub merge_adjacent: Option<MergeAdjacentConfig>,
pub derived: Vec<String>,
pub declared_by: DeclaredBy,
}Expand description
DeclaredNodeStructure (@experimental node-structure): the structural
facts a class declares, each from the nearest class in its config chain
that declares it, and the values it declares derived. Keys no class
declares are None; a mergeAdjacent: false declaration reads as None
too.
Fields§
§inline: Option<bool>§children: Option<NodeChildrenConfig>§merge_adjacent: Option<MergeAdjacentConfig>§derived: Vec<String>The schema fields and NodeState keys of the class declared
derived: the node’s own code recomputes them.
declared_by: DeclaredByThe class each key came from.
Trait Implementations§
Source§impl Clone for DeclaredNodeStructure
impl Clone for DeclaredNodeStructure
Source§impl Debug for DeclaredNodeStructure
impl Debug for DeclaredNodeStructure
Auto Trait Implementations§
impl !RefUnwindSafe for DeclaredNodeStructure
impl !Send for DeclaredNodeStructure
impl !Sync for DeclaredNodeStructure
impl !UnwindSafe for DeclaredNodeStructure
impl Forget for DeclaredNodeStructure
impl Freeze for DeclaredNodeStructure
impl Move for DeclaredNodeStructure
impl Unpin for DeclaredNodeStructure
impl UnsafeUnpin for DeclaredNodeStructure
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