Struct rustix::backend::c::rta_session__bindgen_ty_1__bindgen_ty_1
source · #[repr(C)]pub(crate) struct rta_session__bindgen_ty_1__bindgen_ty_1 {
pub sport: u16,
pub dport: u16,
}
Fields§
§sport: u16
§dport: u16
Trait Implementations§
source§impl Clone for rta_session__bindgen_ty_1__bindgen_ty_1
impl Clone for rta_session__bindgen_ty_1__bindgen_ty_1
source§fn 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 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for rta_session__bindgen_ty_1__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for rta_session__bindgen_ty_1__bindgen_ty_1
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§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)