[−][src]Trait snec::Get
Trait for getting handles to fields in config tables.
This trait is implemented by config tables for every E
which is a field inside the table.
Associated Types
type Receiver: Receiver<E>
The receiver which will be notified when modifications are performed via the handle.
Required methods
fn get_ref(&self) -> &E::Data
Returns an unguarded immutable reference to the field.
fn get_handle(&mut self) -> Handle<'_, E, Self::Receiver>
Returns a Handle
to the field.