#[repr(C)]pub struct switch_network_port_range {
pub port: c_int,
pub ports: [c_int; 10],
pub min_port: c_int,
pub max_port: c_int,
}Fields§
§port: c_int§ports: [c_int; 10]§min_port: c_int§max_port: c_intTrait Implementations§
Source§impl Clone for switch_network_port_range
impl Clone for switch_network_port_range
Source§fn clone(&self) -> switch_network_port_range
fn clone(&self) -> switch_network_port_range
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 moreSource§impl Debug for switch_network_port_range
impl Debug for switch_network_port_range
Source§impl Default for switch_network_port_range
impl Default for switch_network_port_range
Source§fn default() -> switch_network_port_range
fn default() -> switch_network_port_range
Returns the “default value” for a type. Read more
impl Copy for switch_network_port_range
Auto Trait Implementations§
impl Freeze for switch_network_port_range
impl RefUnwindSafe for switch_network_port_range
impl Send for switch_network_port_range
impl Sync for switch_network_port_range
impl Unpin for switch_network_port_range
impl UnsafeUnpin for switch_network_port_range
impl UnwindSafe for switch_network_port_range
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