Struct EndpointType
#[repr(transparent)]pub struct EndpointType(pub u32);Expand description
Type of a data endpoint (data_ep_type_enum_v01).
Tuple Fields§
§0: u32Implementations§
§impl EndpointType
impl EndpointType
Trait Implementations§
§impl Clone for EndpointType
impl Clone for EndpointType
§fn clone(&self) -> EndpointType
fn clone(&self) -> EndpointType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EndpointType
§impl Debug for EndpointType
impl Debug for EndpointType
§impl Decode for EndpointType
impl Decode for EndpointType
§impl Encode for EndpointType
impl Encode for EndpointType
impl Eq for EndpointType
§impl From<EndpointType> for u32
impl From<EndpointType> for u32
§fn from(value: EndpointType) -> Self
fn from(value: EndpointType) -> Self
Converts to this type from the input type.
§impl From<u32> for EndpointType
impl From<u32> for EndpointType
§impl Hash for EndpointType
impl Hash for EndpointType
§impl PartialEq for EndpointType
impl PartialEq for EndpointType
impl StructuralPartialEq for EndpointType
Auto Trait Implementations§
impl Freeze for EndpointType
impl RefUnwindSafe for EndpointType
impl Send for EndpointType
impl Sync for EndpointType
impl Unpin for EndpointType
impl UnsafeUnpin for EndpointType
impl UnwindSafe for EndpointType
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