#[repr(transparent)]pub struct Switchpattern(pub u32);
Expand description
GPIO patterns to be used for each antenna
Tuple Fields§
§0: u32
Implementations§
Source§impl Switchpattern
impl Switchpattern
Sourcepub const fn switchpattern(&self) -> u8
pub const fn switchpattern(&self) -> u8
Fill array of GPIO patterns for antenna control
Sourcepub fn set_switchpattern(&mut self, val: u8)
pub fn set_switchpattern(&mut self, val: u8)
Fill array of GPIO patterns for antenna control
Trait Implementations§
Source§impl Clone for Switchpattern
impl Clone for Switchpattern
Source§fn clone(&self) -> Switchpattern
fn clone(&self) -> Switchpattern
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 Switchpattern
impl Default for Switchpattern
Source§fn default() -> Switchpattern
fn default() -> Switchpattern
Returns the “default value” for a type. Read more
Source§impl PartialEq for Switchpattern
impl PartialEq for Switchpattern
impl Copy for Switchpattern
impl Eq for Switchpattern
impl StructuralPartialEq for Switchpattern
Auto Trait Implementations§
impl Freeze for Switchpattern
impl RefUnwindSafe for Switchpattern
impl Send for Switchpattern
impl Sync for Switchpattern
impl Unpin for Switchpattern
impl UnwindSafe for Switchpattern
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
)