# admit

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-hot-patch/function-admit/

**function** · [`ferroui-hot-patch`](/docs/0.5.0/api/ferroui-hot-patch/) · v0.5.0

```rust
fn admit(before: &str, after: &str, registered: &std::collections::BTreeSet<String>) -> Admission
```

Only top-level, registered, synchronous free-function bodies may change. Signatures,
attributes and every other token must remain identical. Unknown syntax fails closed.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotPatch/admission.rs#L12)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
