ferroui_system
module · ferroui-system · v0.5.0
module ferroui_system
ferroui-system
The parts of the base class library of .NET that FerroUI and its reusable libraries share, in Rust: thread-local variables that work on every target, events, change notification and the cancellation of work. Nothing here depends on the user interface; the base library of FerroUI re-exports every item at the path it had there.
The modules follow the namespaces of .NET where an item ports one of its types; the items of the
namespace System are at the root (IDisposable, IObservable<T>, IObserver<T>,
IProgress<T>), with the guard of a subscription (Subscription) and the extension that
subscribes with it (SubscribeGuard).
component_model:System.ComponentModel(INotifyPropertyChanged).collections::generic:System.Collections.Generic(SlotOrderMap, theDictionarywith the order of enumeration of .NET).collections::object_model:System.Collections.ObjectModel(ObservableCollection).collections::specialized:System.Collections.Specialized(INotifyCollectionChangedand the arguments of a change).threading:System.Threading(CancellationTokenand its source) andSystem.Threading.Tasks(Task.Run; the deprecatedTask<T>andTaskCompletionSource<T>, wrappers overtask::Sharedsince 0.5.0).task: the executor of the workspace (named afterstd::task): futures spawned on their thread, their handles (task::JoinHandle,task::Shared) and where their polls run (task::Schedule), and the one-shot channel (task::oneshot);threading::tasksruns on it.events: the multicast events and the lists of handlers that FerroUI's events are built on.ferro_thread_local!: thread-local variables,std::thread_local!on every target with thread-local statics and one table per thread on Android (mod@ferro_thread_local).
Contents
collections— modulecomponent_model— moduleevents— moduleferro_thread_local— moduletask— modulethreading— moduleIDisposable— traitSubscription— structIObservable— traitIObserver— traitObservableError— type aliasSubscribeGuard— traitIProgress— traitprop— macroferro_thread_local— macro
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.