Trait xhci::context::EndpointPairHandler [−][src]
A trait to handle a pair of the Endpoint Context.
Examples
use xhci::context::{byte32::Device, DeviceHandler}; let mut device = Device::new(); let ep1 = device.endpoints_mut(1); let ep1_in = ep1.input_mut(); let ep1_out = ep1.output_mut();
Required methods
fn output_mut(&mut self) -> &mut dyn EndpointHandler
[src]
Returns a mutable reference to the Output Endpoint Context.
Examples
use xhci::context::{byte32::Device, DeviceHandler}; let mut device = Device::new(); let ep1 = device.endpoints_mut(1); let ep1_out = ep1.output_mut();
fn input_mut(&mut self) -> &mut dyn EndpointHandler
[src]
Returns a mutable reference to the Input Endpoint Context.
Examples
use xhci::context::{byte32::Device, DeviceHandler}; let mut device = Device::new(); let ep1 = device.endpoints_mut(1); let ep1_in = ep1.input_mut();