pub enum Exposing {
All(Span),
Explicit {
items: Vec<Spanned<ExposedItem>>,
trailing_comments: Vec<Spanned<Comment>>,
},
}Expand description
An exposing list on a module declaration or import.
Variants§
All(Span)
exposing (..) — expose everything.
Explicit
exposing (foo, Bar, Baz(..)) — expose specific items.
trailing_comments captures any comments appearing after the last
item but before the closing ). elm-format preserves them on their
own lines just before the closing paren.
Trait Implementations§
impl Eq for Exposing
impl StructuralPartialEq for Exposing
Auto Trait Implementations§
impl Freeze for Exposing
impl RefUnwindSafe for Exposing
impl Send for Exposing
impl Sync for Exposing
impl Unpin for Exposing
impl UnsafeUnpin for Exposing
impl UnwindSafe for Exposing
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