#[repr(transparent)]pub struct JSType(pub c_uint);Available on crate feature
JSValueRef only.Expand description
A constant identifying the type of a JSValue.
See also Apple’s documentation
Tuple Fields§
§0: c_uintImplementations§
Trait Implementations§
Source§impl Ord for JSType
impl Ord for JSType
Source§impl PartialOrd for JSType
impl PartialOrd for JSType
Source§impl RefEncode for JSType
Available on crate feature objc2 only.
impl RefEncode for JSType
Available on crate feature
objc2 only.Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for JSType
impl Eq for JSType
impl StructuralPartialEq for JSType
Auto Trait Implementations§
impl Freeze for JSType
impl RefUnwindSafe for JSType
impl Send for JSType
impl Sync for JSType
impl Unpin for JSType
impl UnwindSafe for JSType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.