#[repr(C)]pub struct StringPair {
pub key: String,
pub value: String,
}Expand description
Shared struct for pairs in a properties map. This is needed because maps can’t be bound directly.
Fields§
§key: String§value: StringTrait Implementations§
Source§impl ExternType for StringPair
impl ExternType for StringPair
Auto Trait Implementations§
impl Freeze for StringPair
impl RefUnwindSafe for StringPair
impl Send for StringPair
impl Sync for StringPair
impl Unpin for StringPair
impl UnsafeUnpin for StringPair
impl UnwindSafe for StringPair
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