pub enum NodeType {
Root,
Translation,
KeyPath,
CodeRef,
}Expand description
Type of node in the reference tree
Variants§
Root
Root node containing the search text
Translation
Translation file entry
KeyPath
Full key path (e.g., “invoice.labels.add_new”)
CodeRef
Code reference where the key is used
Trait Implementations§
impl Eq for NodeType
impl StructuralPartialEq for NodeType
Auto Trait Implementations§
impl Freeze for NodeType
impl RefUnwindSafe for NodeType
impl Send for NodeType
impl Sync for NodeType
impl Unpin for NodeType
impl UnwindSafe for NodeType
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