pub struct Element {
pub location: Option<u16>,
pub models: Vec<Model>,
pub vendor_models: Vec<VendorModel>,
pub control_handle: ElementControlHandle,
/* private fields */
}
Available on crate feature
mesh
only.Expand description
Interface to a Bluetooth mesh element interface.
Fields§
§location: Option<u16>
Location descriptor as defined in the GATT Bluetooth Namespace Descriptors section of the Bluetooth SIG Assigned Numbers.
models: Vec<Model>
Element SIG models.
vendor_models: Vec<VendorModel>
Vendor models.
control_handle: ElementControlHandle
Control handle for element once it has been registered.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Element
impl !RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl !UnwindSafe for Element
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