docstrings: Clarify the purpose of Receiver

This commit is contained in:
Dorota Czaplejewicz
2022-01-22 14:15:11 +00:00
parent ff3f7228b5
commit 1b72cbdfaa

View File

@ -33,6 +33,8 @@ mod c {
/// Holds the Rust structures that are interesting from C.
#[repr(C)]
pub struct RsObjects {
/// The handle to which Commands should be sent
/// for processing in the main loop.
receiver: Wrapped<Receiver<Commands>>,
state_manager: Wrapped<driver::Threaded>,
submission: Wrapped<Submission>,