#[repr(C)]pub struct lysc_type_enum {
pub name: *const c_char,
pub exts: *mut lysc_ext_instance,
pub plugin_ref: usize,
pub basetype: Type,
pub refcount: u32,
pub enums: *mut lysc_type_bitenum_item,
}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
enums: *mut lysc_type_bitenum_item< enumerations list ([sized array](@ref sizedarrays)), mandatory (at least 1 item)
Trait Implementations§
Source§impl Clone for lysc_type_enum
impl Clone for lysc_type_enum
Source§fn clone(&self) -> lysc_type_enum
fn clone(&self) -> lysc_type_enum
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_enum
Source§impl Debug for lysc_type_enum
impl Debug for lysc_type_enum
Auto Trait Implementations§
impl !Send for lysc_type_enum
impl !Sync for lysc_type_enum
impl Freeze for lysc_type_enum
impl RefUnwindSafe for lysc_type_enum
impl Unpin for lysc_type_enum
impl UnsafeUnpin for lysc_type_enum
impl UnwindSafe for lysc_type_enum
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