#[repr(C)]pub struct pair<_T1, _T2> {
pub first: _T1,
pub second: _T2,
pub _phantom_0: PhantomData<UnsafeCell<_T1>>,
pub _phantom_1: PhantomData<UnsafeCell<_T2>>,
}
Fields§
§first: _T1
§second: _T2
§_phantom_0: PhantomData<UnsafeCell<_T1>>
§_phantom_1: PhantomData<UnsafeCell<_T2>>
Trait Implementations§
impl<_T1: Copy, _T2: Copy> Copy for pair<_T1, _T2>
Auto Trait Implementations§
impl<_T1, _T2> Freeze for pair<_T1, _T2>
impl<_T1, _T2> !RefUnwindSafe for pair<_T1, _T2>
impl<_T1, _T2> Send for pair<_T1, _T2>
impl<_T1, _T2> !Sync for pair<_T1, _T2>
impl<_T1, _T2> Unpin for pair<_T1, _T2>
impl<_T1, _T2> UnwindSafe for pair<_T1, _T2>where
_T1: UnwindSafe,
_T2: UnwindSafe,
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