libc

Struct iw_range

source
#[repr(C)]
pub struct iw_range {
Show 43 fields pub throughput: __u32, pub min_nwid: __u32, pub max_nwid: __u32, pub old_num_channels: __u16, pub old_num_frequency: __u8, pub scan_capa: __u8, pub event_capa: [__u32; 6], pub sensitivity: __s32, pub max_qual: iw_quality, pub avg_qual: iw_quality, pub num_bitrates: __u8, pub bitrate: [__s32; 32], pub min_rts: __s32, pub max_rts: __s32, pub min_frag: __s32, pub max_frag: __s32, pub min_pmp: __s32, pub max_pmp: __s32, pub min_pmt: __s32, pub max_pmt: __s32, pub pmp_flags: __u16, pub pmt_flags: __u16, pub pm_capa: __u16, pub encoding_size: [__u16; 8], pub num_encoding_sizes: __u8, pub max_encoding_tokens: __u8, pub encoding_login_index: __u8, pub txpower_capa: __u16, pub num_txpower: __u8, pub txpower: [__s32; 8], pub we_version_compiled: __u8, pub we_version_source: __u8, pub retry_capa: __u16, pub retry_flags: __u16, pub r_time_flags: __u16, pub min_retry: __s32, pub max_retry: __s32, pub min_r_time: __s32, pub max_r_time: __s32, pub num_channels: __u16, pub num_frequency: __u8, pub freq: [iw_freq; 32], pub enc_capa: __u32,
}

Fields§

§throughput: __u32§min_nwid: __u32§max_nwid: __u32§old_num_channels: __u16§old_num_frequency: __u8§scan_capa: __u8§event_capa: [__u32; 6]§sensitivity: __s32§max_qual: iw_quality§avg_qual: iw_quality§num_bitrates: __u8§bitrate: [__s32; 32]§min_rts: __s32§max_rts: __s32§min_frag: __s32§max_frag: __s32§min_pmp: __s32§max_pmp: __s32§min_pmt: __s32§max_pmt: __s32§pmp_flags: __u16§pmt_flags: __u16§pm_capa: __u16§encoding_size: [__u16; 8]§num_encoding_sizes: __u8§max_encoding_tokens: __u8§encoding_login_index: __u8§txpower_capa: __u16§num_txpower: __u8§txpower: [__s32; 8]§we_version_compiled: __u8§we_version_source: __u8§retry_capa: __u16§retry_flags: __u16§r_time_flags: __u16§min_retry: __s32§max_retry: __s32§min_r_time: __s32§max_r_time: __s32§num_channels: __u16§num_frequency: __u8§freq: [iw_freq; 32]§enc_capa: __u32

Trait Implementations§

source§

impl Clone for iw_range

source§

fn clone(&self) -> iw_range

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 Copy for iw_range

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.