pub struct MutationManifest {
pub api_version: u32,
pub name: String,
pub description: String,
pub category: MutationCategory,
pub tier: u8,
pub pattern: String,
pub transform: TransformDef,
}Expand description
Mutation manifest - returned once at plugin load
Fields§
§api_version: u32API version (must match host)
name: StringUnique identifier (e.g., “bool-simplify”, “unwrap-to-question”)
description: StringHuman-readable description
category: MutationCategoryCategory for organization
tier: u8Priority tier (1: high-frequency clippy, 2: pattern transform, 3: custom)
pattern: StringPrimary pattern (syn-based DSL or custom format)
transform: TransformDefTransform strategy
Trait Implementations§
Source§impl Clone for MutationManifest
impl Clone for MutationManifest
Source§fn clone(&self) -> MutationManifest
fn clone(&self) -> MutationManifest
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 moreAuto Trait Implementations§
impl Freeze for MutationManifest
impl RefUnwindSafe for MutationManifest
impl Send for MutationManifest
impl Sync for MutationManifest
impl Unpin for MutationManifest
impl UnsafeUnpin for MutationManifest
impl UnwindSafe for MutationManifest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more