#[repr(C)]pub struct lysc_type_identityref {
pub name: *const c_char,
pub exts: *mut lysc_ext_instance,
pub plugin_ref: usize,
pub basetype: Type,
pub refcount: u32,
pub bases: *mut *mut lysc_ident,
}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
bases: *mut *mut lysc_ident< list of pointers to the base identities ([sized array](@ref sizedarrays)), mandatory (at least 1 item)
Trait Implementations§
Source§impl Clone for lysc_type_identityref
impl Clone for lysc_type_identityref
Source§fn clone(&self) -> lysc_type_identityref
fn clone(&self) -> lysc_type_identityref
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for lysc_type_identityref
Source§impl Debug for lysc_type_identityref
impl Debug for lysc_type_identityref
Auto Trait Implementations§
impl !Send for lysc_type_identityref
impl !Sync for lysc_type_identityref
impl Freeze for lysc_type_identityref
impl RefUnwindSafe for lysc_type_identityref
impl Unpin for lysc_type_identityref
impl UnsafeUnpin for lysc_type_identityref
impl UnwindSafe for lysc_type_identityref
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