Struct hackrf_rs::EndpointDescriptor
source · pub struct EndpointDescriptor {
pub num: u8,
pub direction: Direction,
pub transfer_type: EndpointTransferType,
pub sync_type: IsoSyncType,
pub usage_type: IsoUsageType,
pub max_packet_size: u16,
pub interval: u8,
pub refresh: u8,
pub synch_address: u8,
pub extra: Vec<u8, Global>,
}Fields§
§num: u8§direction: Direction§transfer_type: EndpointTransferType§sync_type: IsoSyncType§usage_type: IsoUsageType§max_packet_size: u16§interval: u8§refresh: u8§synch_address: u8§extra: Vec<u8, Global>Implementations§
source§impl EndpointDescriptor
impl EndpointDescriptor
pub fn new(num: u8, direction: Direction) -> EndpointDescriptor
Auto Trait Implementations§
impl RefUnwindSafe for EndpointDescriptor
impl Send for EndpointDescriptor
impl Sync for EndpointDescriptor
impl Unpin for EndpointDescriptor
impl UnwindSafe for EndpointDescriptor
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