Struct rnix::ast::InheritFrom
source · pub struct InheritFrom(_);
Implementations
sourceimpl InheritFrom
impl InheritFrom
pub const KIND: SyntaxKind = NODE_INHERIT_FROM
sourceimpl InheritFrom
impl InheritFrom
pub fn l_paren_token(&self) -> Option<SyntaxToken>
pub fn expr(&self) -> Option<Expr>
pub fn r_paren_token(&self) -> Option<SyntaxToken>
Trait Implementations
sourceimpl AstNode for InheritFrom
impl AstNode for InheritFrom
type Language = NixLanguage
fn can_cast(kind: SyntaxKind) -> bool
fn cast(from: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
sourceimpl Clone for InheritFrom
impl Clone for InheritFrom
sourcefn clone(&self) -> InheritFrom
fn clone(&self) -> InheritFrom
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for InheritFrom
impl Debug for InheritFrom
sourceimpl Display for InheritFrom
impl Display for InheritFrom
sourceimpl Hash for InheritFrom
impl Hash for InheritFrom
sourceimpl PartialEq<InheritFrom> for InheritFrom
impl PartialEq<InheritFrom> for InheritFrom
sourcefn eq(&self, other: &InheritFrom) -> bool
fn eq(&self, other: &InheritFrom) -> bool
impl Eq for InheritFrom
impl StructuralEq for InheritFrom
impl StructuralPartialEq for InheritFrom
Auto Trait Implementations
impl !RefUnwindSafe for InheritFrom
impl !Send for InheritFrom
impl !Sync for InheritFrom
impl Unpin for InheritFrom
impl !UnwindSafe for InheritFrom
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more