pub enum OpenItem {
All,
Only(Vec<String>),
Hiding(Vec<String>),
Renaming(String, String),
}Expand description
Items to selectively open from a namespace.
Variants§
All
Open everything
Only(Vec<String>)
Open only these names
Hiding(Vec<String>)
Open everything except these
Renaming(String, String)
Rename a single identifier (old, new)
Trait Implementations§
impl StructuralPartialEq for OpenItem
Auto Trait Implementations§
impl Freeze for OpenItem
impl RefUnwindSafe for OpenItem
impl Send for OpenItem
impl Sync for OpenItem
impl Unpin for OpenItem
impl UnsafeUnpin for OpenItem
impl UnwindSafe for OpenItem
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