Enum hackrf_rs::EndpointDirection
source · pub enum EndpointDirection<'a> {
In {
capacity: usize,
},
Out {
src: &'a [u8],
},
}
Variants§
Trait Implementations§
source§impl<'a> Clone for EndpointDirection<'a>
impl<'a> Clone for EndpointDirection<'a>
source§fn clone(&self) -> EndpointDirection<'a>
fn clone(&self) -> EndpointDirection<'a>
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<'a> Copy for EndpointDirection<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for EndpointDirection<'a>
impl<'a> Send for EndpointDirection<'a>
impl<'a> Sync for EndpointDirection<'a>
impl<'a> Unpin for EndpointDirection<'a>
impl<'a> UnwindSafe for EndpointDirection<'a>
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