pub enum Expose {
All,
Show(BTreeSet<Name>, BTreeSet<Name>),
Hide(BTreeSet<Name>, BTreeSet<Name>),
}
Expand description
How an @forward
-ed module should be exposed.
As directed by the show
or hide
keywords or their absense.
Variants§
All
No show
or hide
specified; expose everything.
Show(BTreeSet<Name>, BTreeSet<Name>)
Only show the listed items.
The first list is functions and mixins, the second is variables.
Hide(BTreeSet<Name>, BTreeSet<Name>)
Hide the listed items, show everything else.
The first list is functions and mixins, the second is variables.
Implementations§
Trait Implementations§
source§impl PartialEq for Expose
impl PartialEq for Expose
source§impl PartialOrd for Expose
impl PartialOrd for Expose
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Expose
impl StructuralEq for Expose
impl StructuralPartialEq for Expose
Auto Trait Implementations§
impl RefUnwindSafe for Expose
impl Send for Expose
impl Sync for Expose
impl Unpin for Expose
impl UnwindSafe for Expose
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