Module fp_rust::common[][src]

Expand description

In this module, there’re many traits/structs and fns defined, for general purposes crossing over many modules of fpRust.

Structs

RawFunc struct implements an useful container of FnMut, which could be sent crossing channels.

RawReceiver struct implements an useful container of FnMut(Arc<T>) , receiving an Arc<T> as its parameter.

SubscriptionFunc struct implements the interface of Subscription, for general purposes crossing over many modules of fpRust.

Traits

Observable memorizes all Subscription and send notifications.

Subscription trait defines the interface of a broadcasting subscriber, for general purposes crossing over many modules of fpRust.

UniqueId trait defines the interface of an object with an unique id, for general purposes crossing over many modules of fpRust.

Functions

Get a mut ref of a specific element of a Vec.