#[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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 96 bytes