pub struct Ds4OutputBuffer {
pub buf: [u8; 64],
}Expand description
A raw 64-byte output packet received from the bus for a DS4 target.
This is for advanced use cases where you need to parse the raw output report from
the bus yourself, which may contain more detailed information than the standard
Ds4Notification. Obtain a receiver for this type via
TargetHandle<DualShock4>::register_notification_raw_buffer.
Fields§
§buf: [u8; 64]Trait Implementations§
Source§impl Clone for Ds4OutputBuffer
impl Clone for Ds4OutputBuffer
Source§fn clone(&self) -> Ds4OutputBuffer
fn clone(&self) -> Ds4OutputBuffer
Returns a duplicate 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 moreSource§impl Debug for Ds4OutputBuffer
impl Debug for Ds4OutputBuffer
Source§impl PartialEq for Ds4OutputBuffer
impl PartialEq for Ds4OutputBuffer
impl Copy for Ds4OutputBuffer
impl Eq for Ds4OutputBuffer
impl StructuralPartialEq for Ds4OutputBuffer
Auto Trait Implementations§
impl Freeze for Ds4OutputBuffer
impl RefUnwindSafe for Ds4OutputBuffer
impl Send for Ds4OutputBuffer
impl Sync for Ds4OutputBuffer
impl Unpin for Ds4OutputBuffer
impl UnwindSafe for Ds4OutputBuffer
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