pub enum ScopeDecl {
Section(String),
Namespace(String),
End(String),
Open(Vec<String>),
}Expand description
A scope-management declaration.
Variants§
Section(String)
section Name
Namespace(String)
namespace Name
End(String)
end Name
Open(Vec<String>)
open Name (brings names into scope)
Implementations§
Trait Implementations§
impl Eq for ScopeDecl
impl StructuralPartialEq for ScopeDecl
Auto Trait Implementations§
impl Freeze for ScopeDecl
impl RefUnwindSafe for ScopeDecl
impl Send for ScopeDecl
impl Sync for ScopeDecl
impl Unpin for ScopeDecl
impl UnsafeUnpin for ScopeDecl
impl UnwindSafe for ScopeDecl
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