#[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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy 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§
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§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)] const IS_ZST: bool = _
#[doc(hidden)] const IS_ZST: bool = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const LAYOUT: Layout = _
#[doc(hidden)] const LAYOUT: Layout = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const MAX_SLICE_LEN: usize = _
#[doc(hidden)] const MAX_SLICE_LEN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)The largest safe length for a
[Self]
. Read more