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,
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.
source§impl TryFrom<Entry> for AttrpathValue
impl TryFrom<Entry> for AttrpathValue
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl !RefUnwindSafe for Entry
impl !Send for Entry
impl !Sync for Entry
impl Unpin for Entry
impl !UnwindSafe for Entry
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)