#[non_exhaustive]pub enum SourceBundleScope {
SelectedMembers,
Project,
ExplicitMembers(Vec<String>),
}Expand description
Explicit export policy. No policy infers editable-project completeness from dependency observations; use ExplicitMembers to export an observed subset.
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.
SelectedMembers
Only the primary or explicit group. Directory roots need another scope.
Project
All companions inside the selection’s permitted root, including unused files.
ExplicitMembers(Vec<String>)
Exactly these names relative to the selection’s root. No implicit additions.
Trait Implementations§
Source§impl Clone for SourceBundleScope
impl Clone for SourceBundleScope
Auto Trait Implementations§
impl Freeze for SourceBundleScope
impl RefUnwindSafe for SourceBundleScope
impl Send for SourceBundleScope
impl Sync for SourceBundleScope
impl Unpin for SourceBundleScope
impl UnsafeUnpin for SourceBundleScope
impl UnwindSafe for SourceBundleScope
Blanket Implementations§
impl<T> Allocation for T
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