pub struct Feature {
    pub path: String,
    pub tag: Option<String>,
    pub value: NodeRef,
}Expand description
Unpacked representation of a feature, that NodeRef::new_from_paths can turn into a Node
Fields§
§path: StringDotted path where each segment will be a node: “a.b.c” -> [a: [b: [c: …]]]
tag: Option<String>Unique string that will link features into a reentrant node, or None
value: NodeRefWhat will end up at path. Will be unified with any other feature values with the same tag.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Feature
impl !RefUnwindSafe for Feature
impl !Send for Feature
impl !Sync for Feature
impl Unpin for Feature
impl !UnwindSafe for Feature
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