pub struct ControlCollection<B: Bmc> { /* private fields */ }Expand description
Control collection.
This wraps the collection resource and its member links. Per-control
properties such as set point and allowable range are stored on each
Control returned by Self::members.
§Example
ⓘ
let controls = control_collection.members().await?;
for control in controls {
let _control = control.raw();
}Implementations§
Source§impl<B: Bmc> ControlCollection<B>
impl<B: Bmc> ControlCollection<B>
Auto Trait Implementations§
impl<B> Freeze for ControlCollection<B>
impl<B> RefUnwindSafe for ControlCollection<B>where
B: RefUnwindSafe,
impl<B> Send for ControlCollection<B>
impl<B> Sync for ControlCollection<B>
impl<B> Unpin for ControlCollection<B>
impl<B> UnsafeUnpin for ControlCollection<B>
impl<B> UnwindSafe for ControlCollection<B>where
B: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more