Struct rnix::ast::InheritFrom
source · pub struct InheritFrom(/* private fields */);
Implementations§
source§impl InheritFrom
impl InheritFrom
pub const KIND: SyntaxKind = NODE_INHERIT_FROM
source§impl 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§
source§impl 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,
source§impl Clone for InheritFrom
impl Clone for InheritFrom
source§fn clone(&self) -> InheritFrom
fn clone(&self) -> InheritFrom
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InheritFrom
impl Debug for InheritFrom
source§impl Display for InheritFrom
impl Display for InheritFrom
source§impl Hash for InheritFrom
impl Hash for InheritFrom
source§impl PartialEq for InheritFrom
impl PartialEq for InheritFrom
impl Eq for InheritFrom
impl StructuralPartialEq for InheritFrom
Auto Trait Implementations§
impl Freeze for InheritFrom
impl !RefUnwindSafe for InheritFrom
impl !Send for InheritFrom
impl !Sync for InheritFrom
impl Unpin for InheritFrom
impl !UnwindSafe for InheritFrom
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
)