pub struct StaticItem<'tree> {
pub span: Span,
pub name: Identifier<'tree>,
pub type: Type<'tree>,
pub value: Option<Expression<'tree>>,
pub children: Vec<StaticItemChildren<'tree>>,
}Fields§
§span: Span§name: Identifier<'tree>§type: Type<'tree>§value: Option<Expression<'tree>>§children: Vec<StaticItemChildren<'tree>>Trait Implementations§
Source§impl<'tree> Clone for StaticItem<'tree>
impl<'tree> Clone for StaticItem<'tree>
Source§fn clone(&self) -> StaticItem<'tree>
fn clone(&self) -> StaticItem<'tree>
Returns a duplicate 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<'tree> Debug for StaticItem<'tree>
impl<'tree> Debug for StaticItem<'tree>
Source§impl<'tree> FromNode<'tree> for StaticItem<'tree>
impl<'tree> FromNode<'tree> for StaticItem<'tree>
Source§impl<'tree> PartialEq for StaticItem<'tree>
impl<'tree> PartialEq for StaticItem<'tree>
Source§impl Spanned for StaticItem<'_>
impl Spanned for StaticItem<'_>
impl<'tree> Eq for StaticItem<'tree>
impl<'tree> StructuralPartialEq for StaticItem<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for StaticItem<'tree>
impl<'tree> RefUnwindSafe for StaticItem<'tree>
impl<'tree> Send for StaticItem<'tree>
impl<'tree> Sync for StaticItem<'tree>
impl<'tree> Unpin for StaticItem<'tree>
impl<'tree> UnsafeUnpin for StaticItem<'tree>
impl<'tree> UnwindSafe for StaticItem<'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