pub struct TargetPort(pub u32);
Tuple Fields§
§0: u32
Implementations§
Trait Implementations§
source§impl Clone for TargetPort
impl Clone for TargetPort
source§fn clone(&self) -> TargetPort
fn clone(&self) -> TargetPort
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 moresource§impl Debug for TargetPort
impl Debug for TargetPort
source§impl Display for TargetPort
impl Display for TargetPort
source§impl PartialEq for TargetPort
impl PartialEq for TargetPort
source§fn eq(&self, other: &TargetPort) -> bool
fn eq(&self, other: &TargetPort) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TargetPort
impl Eq for TargetPort
impl StructuralPartialEq for TargetPort
Auto Trait Implementations§
impl Freeze for TargetPort
impl RefUnwindSafe for TargetPort
impl Send for TargetPort
impl Sync for TargetPort
impl Unpin for TargetPort
impl UnwindSafe for TargetPort
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