pub enum Rules {
Claude,
Codex,
TypeScript(&'static Harness),
Withheld {
reason: &'static str,
},
}Expand description
How [hooks] becomes a target’s entries.
Variants§
Claude
Claude takes the table as written.
Codex
Codex’s parser: handlers and matchers it cannot run are left out.
TypeScript(&'static Harness)
Generated TypeScript for the harness (hooks::typescript).
Withheld
Nothing is rendered for the target, as a whole; reason says why.
Trait Implementations§
impl Copy for Rules
impl Eq for Rules
impl StructuralPartialEq for Rules
Auto Trait Implementations§
impl Forget for Rules
impl Freeze for Rules
impl RefUnwindSafe for Rules
impl Send for Rules
impl Sync for Rules
impl Unpin for Rules
impl UnsafeUnpin for Rules
impl UnwindSafe for Rules
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.