pub struct With(/* private fields */);
Implementations§
source§impl With
impl With
pub fn with_token(&self) -> Option<SyntaxToken>
pub fn namespace(&self) -> Option<Expr>
pub fn semicolon_token(&self) -> Option<SyntaxToken>
pub fn body(&self) -> Option<Expr>
Trait Implementations§
source§impl AstNode for With
impl AstNode for With
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 PartialEq for With
impl PartialEq for With
impl Eq for With
impl StructuralPartialEq for With
Auto Trait Implementations§
impl Freeze for With
impl !RefUnwindSafe for With
impl !Send for With
impl !Sync for With
impl Unpin for With
impl !UnwindSafe for With
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)