#[non_exhaustive]pub enum ScopeType {
Module,
Task,
Function,
Begin,
Fork,
}
Expand description
A type of scope, as used in the $scope
command.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl PartialEq<ScopeType> for ScopeType
impl PartialEq<ScopeType> for ScopeType
impl Copy for ScopeType
impl Eq for ScopeType
impl StructuralEq for ScopeType
impl StructuralPartialEq for ScopeType
Auto Trait Implementations§
impl RefUnwindSafe for ScopeType
impl Send for ScopeType
impl Sync for ScopeType
impl Unpin for ScopeType
impl UnwindSafe for ScopeType
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