pub struct Declarations<'tree> {
pub span: Span,
pub children: Vec<DeclarationsChildren<'tree>>,
}Fields§
§span: Span§children: Vec<DeclarationsChildren<'tree>>Trait Implementations§
Source§impl<'tree> Clone for Declarations<'tree>
impl<'tree> Clone for Declarations<'tree>
Source§fn clone(&self) -> Declarations<'tree>
fn clone(&self) -> Declarations<'tree>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for Declarations<'tree>
impl<'tree> Debug for Declarations<'tree>
impl<'tree> Eq for Declarations<'tree>
Source§impl<'tree> FromNode<'tree> for Declarations<'tree>
impl<'tree> FromNode<'tree> for Declarations<'tree>
Source§impl<'tree> PartialEq for Declarations<'tree>
impl<'tree> PartialEq for Declarations<'tree>
Source§impl Spanned for Declarations<'_>
impl Spanned for Declarations<'_>
impl<'tree> StructuralPartialEq for Declarations<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for Declarations<'tree>
impl<'tree> RefUnwindSafe for Declarations<'tree>
impl<'tree> Send for Declarations<'tree>
impl<'tree> Sync for Declarations<'tree>
impl<'tree> Unpin for Declarations<'tree>
impl<'tree> UnsafeUnpin for Declarations<'tree>
impl<'tree> UnwindSafe for Declarations<'tree>
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