pub enum Declaration {
TypeDef(TypeDef),
Entity(Entity),
Function(Function),
Rule(Rule),
}Variants§
Implementations§
Source§impl Declaration
impl Declaration
pub fn is_type_def(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Declaration
impl RefUnwindSafe for Declaration
impl Send for Declaration
impl Sync for Declaration
impl Unpin for Declaration
impl UnsafeUnpin for Declaration
impl UnwindSafe for Declaration
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