pub enum FloorScope {
PerFile,
PerCrate,
WholeRepo,
}Expand description
How far a command’s verdict reaches — declared, never inferred.
Nothing in this pass executes differently per scope; everything runs
whole-repo. The field exists because the alternative is a tool guessing at
decomposability, and a wrong guess narrows the check silently. It is the
contract a future warm charter reads, recorded honestly now while the facts
are in front of us: only cargo fmt --check is per-file faithful (and only
for a NAMED file — cargo fmt discovery skips cfg-gated out-of-line modules,
rustfmt #4034), clippy is a whole-crate rustc driver, and cargo test targets
are crate-level binaries.
Variants§
Trait Implementations§
Source§impl Clone for FloorScope
impl Clone for FloorScope
Source§fn clone(&self) -> FloorScope
fn clone(&self) -> FloorScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FloorScope
Source§impl Debug for FloorScope
impl Debug for FloorScope
Source§impl<'de> Deserialize<'de> for FloorScope
impl<'de> Deserialize<'de> for FloorScope
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FloorScope
Source§impl PartialEq for FloorScope
impl PartialEq for FloorScope
impl StructuralPartialEq for FloorScope
Auto Trait Implementations§
impl Freeze for FloorScope
impl RefUnwindSafe for FloorScope
impl Send for FloorScope
impl Sync for FloorScope
impl Unpin for FloorScope
impl UnsafeUnpin for FloorScope
impl UnwindSafe for FloorScope
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