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