pub struct LeSetExtAdvEnableParams<'a> {
pub enable: bool,
pub sets: &'a [AdvSet],
}
Expand description
Parameters for LE Set Extended Advertising Enable command ๐ LeSetExtAdvEnableParams parameter
Fieldsยง
ยงenable: bool
ยงsets: &'a [AdvSet]
Trait Implementationsยง
Sourceยงimpl<'a> Clone for LeSetExtAdvEnableParams<'a>
impl<'a> Clone for LeSetExtAdvEnableParams<'a>
Sourceยงfn clone(&self) -> LeSetExtAdvEnableParams<'a>
fn clone(&self) -> LeSetExtAdvEnableParams<'a>
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSourceยงimpl<'a> Debug for LeSetExtAdvEnableParams<'a>
impl<'a> Debug for LeSetExtAdvEnableParams<'a>
Sourceยงimpl<'a> Default for LeSetExtAdvEnableParams<'a>
impl<'a> Default for LeSetExtAdvEnableParams<'a>
Sourceยงfn default() -> LeSetExtAdvEnableParams<'a>
fn default() -> LeSetExtAdvEnableParams<'a>
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl<'a> From<LeSetExtAdvEnableParams<'a>> for LeSetExtAdvEnable<'a>
impl<'a> From<LeSetExtAdvEnableParams<'a>> for LeSetExtAdvEnable<'a>
Sourceยงfn from(params: LeSetExtAdvEnableParams<'a>) -> Self
fn from(params: LeSetExtAdvEnableParams<'a>) -> Self
Converts to this type from the input type.
Sourceยงimpl<'a, 'de> FromHciBytes<'de> for LeSetExtAdvEnableParams<'a>where
'de: 'a,
'a: 'de,
impl<'a, 'de> FromHciBytes<'de> for LeSetExtAdvEnableParams<'a>where
'de: 'a,
'a: 'de,
Sourceยงfn from_hci_bytes(
data: &'de [u8],
) -> Result<(Self, &'de [u8]), FromHciBytesError>
fn from_hci_bytes( data: &'de [u8], ) -> Result<(Self, &'de [u8]), FromHciBytesError>
Deserialize bytes into a HCI type, return additional bytes.
Sourceยงfn from_hci_bytes_complete(data: &'de [u8]) -> Result<Self, FromHciBytesError>
fn from_hci_bytes_complete(data: &'de [u8]) -> Result<Self, FromHciBytesError>
Deserialize bytes into a HCI type, must consume all bytes.
Sourceยงimpl<'a> Hash for LeSetExtAdvEnableParams<'a>
impl<'a> Hash for LeSetExtAdvEnableParams<'a>
Sourceยงimpl<'a> Ord for LeSetExtAdvEnableParams<'a>
impl<'a> Ord for LeSetExtAdvEnableParams<'a>
Sourceยงfn cmp(&self, other: &LeSetExtAdvEnableParams<'a>) -> Ordering
fn cmp(&self, other: &LeSetExtAdvEnableParams<'a>) -> Ordering
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl<'a> PartialEq for LeSetExtAdvEnableParams<'a>
impl<'a> PartialEq for LeSetExtAdvEnableParams<'a>
Sourceยงfn eq(&self, other: &LeSetExtAdvEnableParams<'a>) -> bool
fn eq(&self, other: &LeSetExtAdvEnableParams<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Sourceยงimpl<'a> PartialOrd for LeSetExtAdvEnableParams<'a>
impl<'a> PartialOrd for LeSetExtAdvEnableParams<'a>
Sourceยงimpl<'a> WriteHci for LeSetExtAdvEnableParams<'a>
impl<'a> WriteHci for LeSetExtAdvEnableParams<'a>
impl<'a> Copy for LeSetExtAdvEnableParams<'a>
impl<'a> Eq for LeSetExtAdvEnableParams<'a>
impl<'a> StructuralPartialEq for LeSetExtAdvEnableParams<'a>
Auto Trait Implementationsยง
impl<'a> Freeze for LeSetExtAdvEnableParams<'a>
impl<'a> RefUnwindSafe for LeSetExtAdvEnableParams<'a>
impl<'a> Send for LeSetExtAdvEnableParams<'a>
impl<'a> Sync for LeSetExtAdvEnableParams<'a>
impl<'a> Unpin for LeSetExtAdvEnableParams<'a>
impl<'a> UnwindSafe for LeSetExtAdvEnableParams<'a>
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