#[repr(transparent)]pub struct Rssisample(pub u32);
Expand description
RSSI sample.
Tuple Fields§
§0: u32
Implementations§
Source§impl Rssisample
impl Rssisample
Sourcepub const fn rssisample(&self) -> u8
pub const fn rssisample(&self) -> u8
RSSI sample result. The result is read as a positive value so that ReceivedSignalStrength = -RSSISAMPLE dBm
Sourcepub fn set_rssisample(&mut self, val: u8)
pub fn set_rssisample(&mut self, val: u8)
RSSI sample result. The result is read as a positive value so that ReceivedSignalStrength = -RSSISAMPLE dBm
Trait Implementations§
Source§impl Clone for Rssisample
impl Clone for Rssisample
Source§fn clone(&self) -> Rssisample
fn clone(&self) -> Rssisample
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 Default for Rssisample
impl Default for Rssisample
Source§fn default() -> Rssisample
fn default() -> Rssisample
Returns the “default value” for a type. Read more
Source§impl PartialEq for Rssisample
impl PartialEq for Rssisample
impl Copy for Rssisample
impl Eq for Rssisample
impl StructuralPartialEq for Rssisample
Auto Trait Implementations§
impl Freeze for Rssisample
impl RefUnwindSafe for Rssisample
impl Send for Rssisample
impl Sync for Rssisample
impl Unpin for Rssisample
impl UnwindSafe for Rssisample
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)