#[repr(C)]pub struct lysc_type_str {
pub name: *const c_char,
pub exts: *mut lysc_ext_instance,
pub plugin_ref: usize,
pub basetype: Type,
pub refcount: u32,
pub length: *mut lysc_range,
pub patterns: *mut *mut lysc_pattern,
}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
length: *mut lysc_range< optional length limitation
patterns: *mut *mut lysc_pattern< optional list of pointers to pattern limitations ([sized array](@ref sizedarrays))
Trait Implementations§
Source§impl Clone for lysc_type_str
impl Clone for lysc_type_str
Source§fn clone(&self) -> lysc_type_str
fn clone(&self) -> lysc_type_str
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_str
Source§impl Debug for lysc_type_str
impl Debug for lysc_type_str
Auto Trait Implementations§
impl !Send for lysc_type_str
impl !Sync for lysc_type_str
impl Freeze for lysc_type_str
impl RefUnwindSafe for lysc_type_str
impl Unpin for lysc_type_str
impl UnsafeUnpin for lysc_type_str
impl UnwindSafe for lysc_type_str
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