Union mozjs_sys::jsapi::JSPropertySpec_Name
source · #[repr(C)]
pub union JSPropertySpec_Name {
pub string_: *const c_char,
pub symbol_: usize,
}
Fields§
§string_: *const c_char
§symbol_: usize
Trait Implementations§
source§impl Clone for JSPropertySpec_Name
impl Clone for JSPropertySpec_Name
source§fn clone(&self) -> JSPropertySpec_Name
fn clone(&self) -> JSPropertySpec_Name
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 JSPropertySpec_Name
Auto Trait Implementations§
impl RefUnwindSafe for JSPropertySpec_Name
impl !Send for JSPropertySpec_Name
impl !Sync for JSPropertySpec_Name
impl Unpin for JSPropertySpec_Name
impl UnwindSafe for JSPropertySpec_Name
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