pub struct ConstItem<'tree> {
pub span: Span,
pub name: Identifier<'tree>,
pub type: Type<'tree>,
pub value: Option<Expression<'tree>>,
pub children: Option<VisibilityModifier<'tree>>,
}Fields§
§span: Span§name: Identifier<'tree>§type: Type<'tree>§value: Option<Expression<'tree>>§children: Option<VisibilityModifier<'tree>>Trait Implementations§
impl<'tree> Eq for ConstItem<'tree>
impl<'tree> StructuralPartialEq for ConstItem<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ConstItem<'tree>
impl<'tree> RefUnwindSafe for ConstItem<'tree>
impl<'tree> Send for ConstItem<'tree>
impl<'tree> Sync for ConstItem<'tree>
impl<'tree> Unpin for ConstItem<'tree>
impl<'tree> UnsafeUnpin for ConstItem<'tree>
impl<'tree> UnwindSafe for ConstItem<'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