# kernel

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-dynamic-data/kernel/

**module** · [`ferroui-dynamic-data`](/docs/0.5.0/api/ferroui-dynamic-data/) · v0.5.0

```rust
module kernel
```

The kernel of DynamicData (`DynamicData/Kernel`): the extensions of `Option<T>` (upstream's
`Optional<T>`) and of its sequences, the status of a connection, the error of an item, the
pairs of an item with its index or a value, and the helpers of sequences and schedulers.

Upstream's `Optional<T>` is Rust's `Option<T>` (docs/porting/reactive.md, section 5.4), so
`Optional.cs` itself has no counterpart; `ReferenceEqualityComparer` is `Rc::ptr_eq`,
`ReadOnlyCollectionLight` is `Vec<T>`, `EnumerableIList`/`EnumeratorIList`/`IEnumerableIList`
are the slices and `Vec`s of Rust, `ISupportsCapacity` is `Vec::with_capacity`, and
`ParallelEx` (PLINQ) is not ported.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/kernel/mod.rs#L1)

## Contents

- [`ConnectionStatus`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/enum-connectionstatus/) — enum
- [`duplicates`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/function-duplicates/) — function
- [`index_of_many`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/function-index_of_many/) — function
- [`index_of_many_with`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/function-index_of_many_with/) — function
- [`with_index`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/function-with_index/) — function
- [`Error`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/struct-error/) — struct
- [`retry_with_back_off`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/function-retry_with_back_off/) — function
- [`schedule_recurring_action`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/function-schedule_recurring_action/) — function
- [`schedule_recurring_action_with`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/function-schedule_recurring_action_with/) — function
- [`to_unit`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/function-to_unit/) — function
- [`ItemWithIndex`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/struct-itemwithindex/) — struct
- [`ItemWithValue`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/struct-itemwithvalue/) — struct
- [`OptionElse`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/struct-optionelse/) — struct
- [`first_or_optional`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/function-first_or_optional/) — function
- [`lookup`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/function-lookup/) — function
- [`remove_if_contained`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/function-remove_if_contained/) — function
- [`select_values`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/function-select_values/) — function
- [`OptionExtensions`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/trait-optionextensions/) — trait
- [`OptionObservableExtensions`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/trait-optionobservableextensions/) — trait

## Availability

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