pub enum Package<'input> {
Package {
parts: Vec<Loc<Cow<'input, str>>>,
},
Error,
}
Expand description
A package declaration.
Variants§
Trait Implementations§
impl<'input> Eq for Package<'input>
impl<'input> StructuralPartialEq for Package<'input>
Auto Trait Implementations§
impl<'input> Freeze for Package<'input>
impl<'input> RefUnwindSafe for Package<'input>
impl<'input> Send for Package<'input>
impl<'input> Sync for Package<'input>
impl<'input> Unpin for Package<'input>
impl<'input> UnwindSafe for Package<'input>
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