riot_sys

Type Alias netopt_scan_result_t

Source
pub type netopt_scan_result_t = netopt_scan_result;
Expand description

@brief Basic network scan result

Aliased Type§

struct netopt_scan_result_t {
    pub channel: u16,
    pub strength: i16,
}

Fields§

§channel: u16

< Scanned channel

§strength: i16

< Received signal strength

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 4 bytes

Trait Implementations

Source§

impl Clone for netopt_scan_result

Source§

fn clone(&self) -> netopt_scan_result

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for netopt_scan_result

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for netopt_scan_result

Source§

fn default() -> netopt_scan_result

Returns the “default value” for a type. Read more
Source§

impl Copy for netopt_scan_result