#[repr(C)]pub struct swift_PrebuiltStringMap_ArrayElement<StringTy, ElemTy> {
pub _phantom_0: PhantomData<UnsafeCell<StringTy>>,
pub _phantom_1: PhantomData<UnsafeCell<ElemTy>>,
pub key: StringTy,
pub value: ElemTy,
}
Fields§
§_phantom_0: PhantomData<UnsafeCell<StringTy>>
§_phantom_1: PhantomData<UnsafeCell<ElemTy>>
§key: StringTy
§value: ElemTy
Trait Implementations§
Source§impl<StringTy: Clone, ElemTy: Clone> Clone for swift_PrebuiltStringMap_ArrayElement<StringTy, ElemTy>
impl<StringTy: Clone, ElemTy: Clone> Clone for swift_PrebuiltStringMap_ArrayElement<StringTy, ElemTy>
Source§fn clone(&self) -> swift_PrebuiltStringMap_ArrayElement<StringTy, ElemTy>
fn clone(&self) -> swift_PrebuiltStringMap_ArrayElement<StringTy, ElemTy>
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 moreSource§impl<StringTy: Debug, ElemTy: Debug> Debug for swift_PrebuiltStringMap_ArrayElement<StringTy, ElemTy>
impl<StringTy: Debug, ElemTy: Debug> Debug for swift_PrebuiltStringMap_ArrayElement<StringTy, ElemTy>
impl<StringTy: Copy, ElemTy: Copy> Copy for swift_PrebuiltStringMap_ArrayElement<StringTy, ElemTy>
Auto Trait Implementations§
impl<StringTy, ElemTy> Freeze for swift_PrebuiltStringMap_ArrayElement<StringTy, ElemTy>
impl<StringTy, ElemTy> !RefUnwindSafe for swift_PrebuiltStringMap_ArrayElement<StringTy, ElemTy>
impl<StringTy, ElemTy> Send for swift_PrebuiltStringMap_ArrayElement<StringTy, ElemTy>
impl<StringTy, ElemTy> !Sync for swift_PrebuiltStringMap_ArrayElement<StringTy, ElemTy>
impl<StringTy, ElemTy> Unpin for swift_PrebuiltStringMap_ArrayElement<StringTy, ElemTy>
impl<StringTy, ElemTy> UnwindSafe for swift_PrebuiltStringMap_ArrayElement<StringTy, ElemTy>where
StringTy: UnwindSafe,
ElemTy: 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