pub enum ConstAst<'a> {
Item(&'a ItemConst),
ImplItem(&'a ImplItemConst),
}Variants§
Item(&'a ItemConst)
ImplItem(&'a ImplItemConst)
Trait Implementations§
impl<'a> StructuralPartialEq for ConstAst<'a>
Auto Trait Implementations§
impl<'a> Freeze for ConstAst<'a>
impl<'a> RefUnwindSafe for ConstAst<'a>
impl<'a> !Send for ConstAst<'a>
impl<'a> !Sync for ConstAst<'a>
impl<'a> Unpin for ConstAst<'a>
impl<'a> UnwindSafe for ConstAst<'a>
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