Union mozjs::jsapi::shadow::String__bindgen_ty_1
source · #[repr(C)]
pub union String__bindgen_ty_1 {
pub nonInlineCharsLatin1: *const u8,
pub nonInlineCharsTwoByte: *const u16,
pub inlineStorageLatin1: [u8; 1],
pub inlineStorageTwoByte: [u16; 1],
}
Fields§
§nonInlineCharsLatin1: *const u8
§nonInlineCharsTwoByte: *const u16
§inlineStorageLatin1: [u8; 1]
§inlineStorageTwoByte: [u16; 1]
Trait Implementations§
source§impl Clone for String__bindgen_ty_1
impl Clone for String__bindgen_ty_1
source§fn clone(&self) -> String__bindgen_ty_1
fn clone(&self) -> String__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 String__bindgen_ty_1
Auto Trait Implementations§
impl RefUnwindSafe for String__bindgen_ty_1
impl !Send for String__bindgen_ty_1
impl !Sync for String__bindgen_ty_1
impl Unpin for String__bindgen_ty_1
impl UnwindSafe for String__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