pub enum Entry {
Inherit(Inherit),
AttrpathValue(AttrpathValue),
}Variants§
Inherit(Inherit)
AttrpathValue(AttrpathValue)
Trait Implementations§
Source§impl AstNode for Entry
impl AstNode for Entry
type Language = NixLanguage
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
impl Eq for Entry
Source§impl From<AttrpathValue> for Entry
impl From<AttrpathValue> for Entry
Source§fn from(node: AttrpathValue) -> Entry
fn from(node: AttrpathValue) -> Entry
Converts to this type from the input type.
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl !RefUnwindSafe for Entry
impl !Send for Entry
impl !Sync for Entry
impl !UnwindSafe for Entry
impl Freeze for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
Blanket Implementations§
impl<T> AstNode for Twhere
T: AstNode<Language = NixLanguage>,
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