fn is_high(&self) -> Result<bool, Self::Error> {
        let mut invalue: i32 = 0;
        let addr: *mut i32 = &mut invalue;
        let ret = unsafe {
            ioctl(self.fd, crate::GPIOC_READ, addr)
        };
        assert!(ret >= 0);
        match invalue {
            0 => Ok(false),
            _ => Ok(true),
        }
    }
/// Return true if GPIO Input is high
Return true if GPIO Input is high
Return true if GPIO Input is high
fn is_high(&self) -> Result<bool, Self::Error> {
        let mut invalue: i32 = 0;
        let addr: *mut i32 = &mut invalue;
        let ret = unsafe {
            ioctl(self.fd, crate::GPIOC_READ, addr)
        };
        assert!(ret >= 0);
        match invalue {
            0 => Ok(false),
            _ => Ok(true),
        }
    }
fn is_high ( & self ) -> Result < bool , Self :: Error > { let mut invalue : i32 = 0 ; let addr : * mut i32 = & mut invalue ; let ret = unsafe { ioctl ( self . fd , crate :: GPIOC_READ , addr ) } ; assert ! ( ret 0 ) ; match invalue { 0 => Ok ( false ) , _ => Ok ( true ) , } }
Return true if GPIO Input is high
Return true if GPIO Input is high
&self
&self