pub enum PackScope {
All,
Paths(Vec<Utf8PathBuf>),
Symbol(String),
}Expand description
What subset of the repository to pack.
All includes every file the PackContext considers in scope. Paths
restricts to explicit paths. Symbol packs files that contain a named
symbol (lookup provided by the context).
Variants§
Auto Trait Implementations§
impl Freeze for PackScope
impl RefUnwindSafe for PackScope
impl Send for PackScope
impl Sync for PackScope
impl Unpin for PackScope
impl UnsafeUnpin for PackScope
impl UnwindSafe for PackScope
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