pub struct GpioHandle {
pub gpio: u32,
pub consumer: String,
pub flags: RequestFlags,
/* private fields */
}Expand description
A GPIO handle acquired from the gpiochip
Fields§
§gpio: u32§consumer: String§flags: RequestFlagsImplementations§
Trait Implementations§
Source§impl AsRawFd for GpioHandle
impl AsRawFd for GpioHandle
Source§impl IntoRawFd for GpioHandle
impl IntoRawFd for GpioHandle
Source§fn into_raw_fd(self) -> RawFd
fn into_raw_fd(self) -> RawFd
Consumes this object, returning the raw underlying file descriptor. Read more
Auto Trait Implementations§
impl Freeze for GpioHandle
impl RefUnwindSafe for GpioHandle
impl Send for GpioHandle
impl Sync for GpioHandle
impl Unpin for GpioHandle
impl UnwindSafe for GpioHandle
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