Struct ra_ap_syntax::ast::BoxExpr [−][src]
pub struct BoxExpr { /* fields omitted */ }Implementations
Trait Implementations
impl AstNode for BoxExpr[src]
impl AstNode for BoxExpr[src]fn can_cast(kind: SyntaxKind) -> bool[src]
fn cast(syntax: SyntaxNode) -> Option<Self>[src]
fn syntax(&self) -> &SyntaxNode[src]
fn clone_for_update(&self) -> Self where
Self: Sized, [src]
Self: Sized,
fn clone_subtree(&self) -> Self where
Self: Sized, [src]
Self: Sized,
impl AttrsOwner for BoxExpr[src]
impl AttrsOwner for BoxExpr[src]fn attrs(&self) -> AstChildren<Attr>ⓘNotable traits for AstChildren<N>
impl<N: AstNode> Iterator for AstChildren<N> type Item = N;[src]
Notable traits for AstChildren<N>
impl<N: AstNode> Iterator for AstChildren<N> type Item = N;fn has_atom_attr(&self, atom: &str) -> bool[src]
impl Eq for BoxExpr[src]
impl StructuralEq for BoxExpr[src]
impl StructuralPartialEq for BoxExpr[src]
Auto Trait Implementations
impl !RefUnwindSafe for BoxExpr
impl !Send for BoxExpr
impl !Sync for BoxExpr
impl Unpin for BoxExpr
impl !UnwindSafe for BoxExpr
Blanket Implementations
impl<N> AstNodeEdit for N where
N: AstNode + Clone, [src]
impl<N> AstNodeEdit for N where
N: AstNode + Clone, [src]#[must_use]fn replace_children(
&self,
to_replace: RangeInclusive<SyntaxElement>,
to_insert: impl IntoIterator<Item = SyntaxElement>
) -> Self[src]
#[must_use]
fn replace_children(&self,
to_replace: RangeInclusive<SyntaxElement>,
to_insert: impl IntoIterator<Item = SyntaxElement>
) -> Self
fn indent_level(&self) -> IndentLevel[src]
#[must_use]fn indent(&self, level: IndentLevel) -> Self[src]
#[must_use]
fn indent(&self, level: IndentLevel) -> Self#[must_use]fn dedent(&self, level: IndentLevel) -> Self[src]
#[must_use]
fn dedent(&self, level: IndentLevel) -> Self#[must_use]fn reset_indent(&self) -> Self[src]
#[must_use]
fn reset_indent(&self) -> Selfimpl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]pub fn equivalent(&self, key: &K) -> bool[src]
pub fn equivalent(&self, key: &K) -> bool[src]Compare self to key and return true if they are equal.
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more