Skip to main content

PartialScope

Struct PartialScope 

Source
pub struct PartialScope<'a> {
    pub scope: Option<&'a Scope>,
    pub exclude_files: &'a [String],
    pub preserve_all_existing: bool,
}
Expand description

Scope filter describing which existing entries were evaluated by a partial run.

Fields§

§scope: Option<&'a Scope>

Workspace-relative line scope (--lines / --since), if any.

§exclude_files: &'a [String]

Package-relative --exclude-file glob patterns.

§preserve_all_existing: bool

True for sharded runs or empty scopes where no existing entries should be pruned.

Auto Trait Implementations§

§

impl<'a> Forget for PartialScope<'a>

§

impl<'a> Freeze for PartialScope<'a>
where &'a Scope: Freeze, &'a [String]: Freeze,

§

impl<'a> Move for PartialScope<'a>

§

impl<'a> RefUnwindSafe for PartialScope<'a>

§

impl<'a> Send for PartialScope<'a>
where &'a Scope: Send, &'a [String]: Send,

§

impl<'a> Sync for PartialScope<'a>
where NodeRef<Owned, String, Vec<(usize, usize)>, LeafOrInternal>: Sync, BoxRaw<(String, Vec<(usize, usize)>)>: Sync, RawVecInner: Sync,

§

impl<'a> Unpin for PartialScope<'a>
where &'a Scope: Unpin, &'a [String]: Unpin,

§

impl<'a> UnsafeUnpin for PartialScope<'a>
where &'a Scope: UnsafeUnpin, &'a [String]: UnsafeUnpin,

§

impl<'a> UnwindSafe for PartialScope<'a>
where &'a Scope: UnwindSafe, &'a [String]: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.