Struct EndpointAddress
pub struct EndpointAddress(/* private fields */);
Expand description
Type-safe endpoint address.
Implementations§
§impl EndpointAddress
impl EndpointAddress
pub fn from_parts(index: usize, dir: Direction) -> EndpointAddress
pub fn from_parts(index: usize, dir: Direction) -> EndpointAddress
Constructs a new EndpointAddress with the given index and direction.
Trait Implementations§
§impl Clone for EndpointAddress
impl Clone for EndpointAddress
§fn clone(&self) -> EndpointAddress
fn clone(&self) -> EndpointAddress
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 more§impl Debug for EndpointAddress
impl Debug for EndpointAddress
§impl Format for EndpointAddress
impl Format for EndpointAddress
§impl From<u8> for EndpointAddress
impl From<u8> for EndpointAddress
§fn from(addr: u8) -> EndpointAddress
fn from(addr: u8) -> EndpointAddress
Converts to this type from the input type.
§impl PartialEq for EndpointAddress
impl PartialEq for EndpointAddress
impl Copy for EndpointAddress
impl Eq for EndpointAddress
impl StructuralPartialEq for EndpointAddress
Auto Trait Implementations§
impl Freeze for EndpointAddress
impl RefUnwindSafe for EndpointAddress
impl Send for EndpointAddress
impl Sync for EndpointAddress
impl Unpin for EndpointAddress
impl UnwindSafe for EndpointAddress
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