pub struct CharacteristicProps(/* private fields */);
Expand description
Properties of a characteristic.
Implementations§
Source§impl CharacteristicProps
impl CharacteristicProps
Sourcepub fn any(&self, props: &[CharacteristicProp]) -> bool
pub fn any(&self, props: &[CharacteristicProp]) -> bool
Check if any of the properties are set.
Trait Implementations§
Source§impl Clone for CharacteristicProps
impl Clone for CharacteristicProps
Source§fn clone(&self) -> CharacteristicProps
fn clone(&self) -> CharacteristicProps
Returns a copy 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 FixedGattValue for CharacteristicProps
impl FixedGattValue for CharacteristicProps
Source§impl<'a> From<&'a [CharacteristicProp]> for CharacteristicProps
impl<'a> From<&'a [CharacteristicProp]> for CharacteristicProps
Source§fn from(props: &'a [CharacteristicProp]) -> Self
fn from(props: &'a [CharacteristicProp]) -> Self
Converts to this type from the input type.
Source§impl<const T: usize> From<[CharacteristicProp; T]> for CharacteristicProps
impl<const T: usize> From<[CharacteristicProp; T]> for CharacteristicProps
Source§fn from(props: [CharacteristicProp; T]) -> Self
fn from(props: [CharacteristicProp; T]) -> Self
Converts to this type from the input type.
impl Copy for CharacteristicProps
Auto Trait Implementations§
impl Freeze for CharacteristicProps
impl RefUnwindSafe for CharacteristicProps
impl Send for CharacteristicProps
impl Sync for CharacteristicProps
impl Unpin for CharacteristicProps
impl UnwindSafe for CharacteristicProps
Blanket Implementations§
Source§impl<T> AsGatt for Twhere
T: FixedGattValue,
impl<T> AsGatt for Twhere
T: FixedGattValue,
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