#[repr(C)]pub struct ptp_pin_desc {
pub name: [c_char; 64],
pub index: c_uint,
pub func: c_uint,
pub chan: c_uint,
pub rsv: [c_uint; 5],
}
Fields§
§name: [c_char; 64]
§index: c_uint
§func: c_uint
§chan: c_uint
§rsv: [c_uint; 5]
Trait Implementations§
Source§impl Clone for ptp_pin_desc
impl Clone for ptp_pin_desc
Source§fn clone(&self) -> ptp_pin_desc
fn clone(&self) -> ptp_pin_desc
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ptp_pin_desc
impl Debug for ptp_pin_desc
Source§impl Hash for ptp_pin_desc
impl Hash for ptp_pin_desc
Source§impl PartialEq for ptp_pin_desc
impl PartialEq for ptp_pin_desc
impl Copy for ptp_pin_desc
impl Eq for ptp_pin_desc
impl StructuralPartialEq for ptp_pin_desc
Auto Trait Implementations§
impl Freeze for ptp_pin_desc
impl RefUnwindSafe for ptp_pin_desc
impl Send for ptp_pin_desc
impl Sync for ptp_pin_desc
impl Unpin for ptp_pin_desc
impl UnwindSafe for ptp_pin_desc
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)