pub struct wifi_csi_config {
pub lltf_en: bool,
pub htltf_en: bool,
pub stbc_htltf2_en: bool,
pub ltf_merge_en: bool,
pub channel_filter_en: bool,
pub manu_scale: bool,
pub shift: u32,
}
Fields§
§lltf_en: bool
§htltf_en: bool
§stbc_htltf2_en: bool
§ltf_merge_en: bool
§channel_filter_en: bool
§manu_scale: bool
§shift: u32
Implementations§
Source§impl wifi_csi_config
impl wifi_csi_config
Sourcepub fn mut_lltf_en(&mut self) -> &mut bool
pub fn mut_lltf_en(&mut self) -> &mut bool
Return a mutable reference to lltf_en
Sourcepub fn set_lltf_en(&mut self, value: bool) -> &mut Self
pub fn set_lltf_en(&mut self, value: bool) -> &mut Self
Set the value of lltf_en
Sourcepub fn init_lltf_en(self, value: bool) -> Self
pub fn init_lltf_en(self, value: bool) -> Self
Builder method that sets the value of lltf_en
. Useful for initializing the message.
Sourcepub fn mut_htltf_en(&mut self) -> &mut bool
pub fn mut_htltf_en(&mut self) -> &mut bool
Return a mutable reference to htltf_en
Sourcepub fn set_htltf_en(&mut self, value: bool) -> &mut Self
pub fn set_htltf_en(&mut self, value: bool) -> &mut Self
Set the value of htltf_en
Sourcepub fn init_htltf_en(self, value: bool) -> Self
pub fn init_htltf_en(self, value: bool) -> Self
Builder method that sets the value of htltf_en
. Useful for initializing the message.
Sourcepub fn stbc_htltf2_en(&self) -> &bool
pub fn stbc_htltf2_en(&self) -> &bool
Return a reference to stbc_htltf2_en
Sourcepub fn mut_stbc_htltf2_en(&mut self) -> &mut bool
pub fn mut_stbc_htltf2_en(&mut self) -> &mut bool
Return a mutable reference to stbc_htltf2_en
Sourcepub fn set_stbc_htltf2_en(&mut self, value: bool) -> &mut Self
pub fn set_stbc_htltf2_en(&mut self, value: bool) -> &mut Self
Set the value of stbc_htltf2_en
Sourcepub fn init_stbc_htltf2_en(self, value: bool) -> Self
pub fn init_stbc_htltf2_en(self, value: bool) -> Self
Builder method that sets the value of stbc_htltf2_en
. Useful for initializing the message.
Sourcepub fn ltf_merge_en(&self) -> &bool
pub fn ltf_merge_en(&self) -> &bool
Return a reference to ltf_merge_en
Sourcepub fn mut_ltf_merge_en(&mut self) -> &mut bool
pub fn mut_ltf_merge_en(&mut self) -> &mut bool
Return a mutable reference to ltf_merge_en
Sourcepub fn set_ltf_merge_en(&mut self, value: bool) -> &mut Self
pub fn set_ltf_merge_en(&mut self, value: bool) -> &mut Self
Set the value of ltf_merge_en
Sourcepub fn init_ltf_merge_en(self, value: bool) -> Self
pub fn init_ltf_merge_en(self, value: bool) -> Self
Builder method that sets the value of ltf_merge_en
. Useful for initializing the message.
Sourcepub fn channel_filter_en(&self) -> &bool
pub fn channel_filter_en(&self) -> &bool
Return a reference to channel_filter_en
Sourcepub fn mut_channel_filter_en(&mut self) -> &mut bool
pub fn mut_channel_filter_en(&mut self) -> &mut bool
Return a mutable reference to channel_filter_en
Sourcepub fn set_channel_filter_en(&mut self, value: bool) -> &mut Self
pub fn set_channel_filter_en(&mut self, value: bool) -> &mut Self
Set the value of channel_filter_en
Sourcepub fn init_channel_filter_en(self, value: bool) -> Self
pub fn init_channel_filter_en(self, value: bool) -> Self
Builder method that sets the value of channel_filter_en
. Useful for initializing the message.
Sourcepub fn manu_scale(&self) -> &bool
pub fn manu_scale(&self) -> &bool
Return a reference to manu_scale
Sourcepub fn mut_manu_scale(&mut self) -> &mut bool
pub fn mut_manu_scale(&mut self) -> &mut bool
Return a mutable reference to manu_scale
Sourcepub fn set_manu_scale(&mut self, value: bool) -> &mut Self
pub fn set_manu_scale(&mut self, value: bool) -> &mut Self
Set the value of manu_scale
Sourcepub fn init_manu_scale(self, value: bool) -> Self
pub fn init_manu_scale(self, value: bool) -> Self
Builder method that sets the value of manu_scale
. Useful for initializing the message.
Sourcepub fn init_shift(self, value: u32) -> Self
pub fn init_shift(self, value: u32) -> Self
Builder method that sets the value of shift
. Useful for initializing the message.
Trait Implementations§
Source§impl Clone for wifi_csi_config
impl Clone for wifi_csi_config
Source§fn clone(&self) -> wifi_csi_config
fn clone(&self) -> wifi_csi_config
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for wifi_csi_config
impl Debug for wifi_csi_config
Source§impl Default for wifi_csi_config
impl Default for wifi_csi_config
Source§fn default() -> wifi_csi_config
fn default() -> wifi_csi_config
Source§impl MessageDecode for wifi_csi_config
impl MessageDecode for wifi_csi_config
Source§fn decode<IMPL_MICROPB_READ: PbRead>(
&mut self,
decoder: &mut PbDecoder<IMPL_MICROPB_READ>,
len: usize,
) -> Result<(), DecodeError<IMPL_MICROPB_READ::Error>>
fn decode<IMPL_MICROPB_READ: PbRead>( &mut self, decoder: &mut PbDecoder<IMPL_MICROPB_READ>, len: usize, ) -> Result<(), DecodeError<IMPL_MICROPB_READ::Error>>
self
. Read more