#[non_exhaustive]pub enum ExpandScope {
Sequential,
WholeFile,
}Expand description
Whether later definitions can see earlier definitions or the final file.
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.
Sequential
A reference sees the latest participating declaration before it.
WholeFile
A reference sees the final participating declaration in the file.
Trait Implementations§
Source§impl Clone for ExpandScope
impl Clone for ExpandScope
impl Copy for ExpandScope
Source§impl Debug for ExpandScope
impl Debug for ExpandScope
impl Eq for ExpandScope
Source§impl Hash for ExpandScope
impl Hash for ExpandScope
Source§impl PartialEq for ExpandScope
impl PartialEq for ExpandScope
impl StructuralPartialEq for ExpandScope
Auto Trait Implementations§
impl Freeze for ExpandScope
impl RefUnwindSafe for ExpandScope
impl Send for ExpandScope
impl Sync for ExpandScope
impl Unpin for ExpandScope
impl UnsafeUnpin for ExpandScope
impl UnwindSafe for ExpandScope
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