#[repr(C)]pub struct lysc_type {
pub name: *const c_char,
pub exts: *mut lysc_ext_instance,
pub plugin_ref: usize,
pub basetype: Type,
pub refcount: u32,
}Fields§
§name: *const c_char< referenced typedef name (without prefix, if any), NULL for built-in types
exts: *mut lysc_ext_instance< list of the extension instances ([sized array](@ref sizedarrays))
plugin_ref: usize< reference to type plugin, use ::lysc_get_type_plugin() to get the plugin
basetype: Type< base type of the type
refcount: u32< reference counter for type sharing, it may be accessed concurrently when creating/freeing data node values that reference it (instance-identifier)
Trait Implementations§
Auto Trait Implementations§
impl !Send for lysc_type
impl !Sync for lysc_type
impl Freeze for lysc_type
impl RefUnwindSafe for lysc_type
impl Unpin for lysc_type
impl UnsafeUnpin for lysc_type
impl UnwindSafe for lysc_type
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