Struct tc_core::Ports [−][src]
pub struct Ports { /* fields omitted */ }
Methods
impl Ports
[src]
impl Ports
pub fn add_mapping(&mut self, internal: u32, external: u32) -> &mut Self
[src]
pub fn add_mapping(&mut self, internal: u32, external: u32) -> &mut Self
pub fn map_to_external_port(&self, port: u32) -> Option<u32>
[src]
pub fn map_to_external_port(&self, port: u32) -> Option<u32>
Trait Implementations
impl Debug for Ports
[src]
impl Debug for Ports
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Ports
[src]
impl PartialEq for Ports
fn eq(&self, other: &Ports) -> bool
[src]
fn eq(&self, other: &Ports) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Ports) -> bool
[src]
fn ne(&self, other: &Ports) -> bool
This method tests for !=
.
impl Default for Ports
[src]
impl Default for Ports