#[repr(C)]pub struct rta_session__bindgen_ty_1__bindgen_ty_1 {
pub sport: __u16,
pub dport: __u16,
}
Fields
sport: __u16
dport: __u16
Trait Implementations
sourceimpl Clone for rta_session__bindgen_ty_1__bindgen_ty_1
impl Clone for rta_session__bindgen_ty_1__bindgen_ty_1
sourcefn clone(&self) -> rta_session__bindgen_ty_1__bindgen_ty_1
fn clone(&self) -> rta_session__bindgen_ty_1__bindgen_ty_1
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for rta_session__bindgen_ty_1__bindgen_ty_1
Auto Trait Implementations
impl RefUnwindSafe for rta_session__bindgen_ty_1__bindgen_ty_1
impl Send for rta_session__bindgen_ty_1__bindgen_ty_1
impl Sync for rta_session__bindgen_ty_1__bindgen_ty_1
impl Unpin for rta_session__bindgen_ty_1__bindgen_ty_1
impl UnwindSafe for rta_session__bindgen_ty_1__bindgen_ty_1
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more