#[repr(C)]pub struct GpioPinRecord {
pub pin: *const GpioPin,
pub name: *const c_char,
pub channel: FuriHalAdcChannel,
pub pwm_output: FuriHalPwmOutputId,
pub number: u8,
pub debug: bool,
}Fields§
§pin: *const GpioPin§name: *const c_char§channel: FuriHalAdcChannel§pwm_output: FuriHalPwmOutputId§number: u8§debug: boolTrait Implementations§
Source§impl Clone for GpioPinRecord
impl Clone for GpioPinRecord
Source§fn clone(&self) -> GpioPinRecord
fn clone(&self) -> GpioPinRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GpioPinRecord
Auto Trait Implementations§
impl !Send for GpioPinRecord
impl !Sync for GpioPinRecord
impl Freeze for GpioPinRecord
impl RefUnwindSafe for GpioPinRecord
impl Unpin for GpioPinRecord
impl UnsafeUnpin for GpioPinRecord
impl UnwindSafe for GpioPinRecord
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