#[repr(C)]pub struct CodeTypeField {
pub name: *const c_char,
pub type_name: *const c_char,
pub is_optional: u8,
}Expand description
Field descriptor for type declarations.
Fields§
§name: *const c_char§type_name: *const c_charType name as C string, e.g. “String”, “Number”.
is_optional: u80 = required, non-zero = optional.
Trait Implementations§
impl Send for CodeTypeField
impl Sync for CodeTypeField
Auto Trait Implementations§
impl Freeze for CodeTypeField
impl RefUnwindSafe for CodeTypeField
impl Unpin for CodeTypeField
impl UnsafeUnpin for CodeTypeField
impl UnwindSafe for CodeTypeField
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