#[repr(C)]pub struct lysc_type_dec {
pub name: *const c_char,
pub exts: *mut lysc_ext_instance,
pub plugin_ref: usize,
pub basetype: Type,
pub refcount: u32,
pub fraction_digits: u8,
pub range: *mut lysc_range,
}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
fraction_digits: u8< fraction digits specification
range: *mut lysc_range< Optional range limitation
Trait Implementations§
Source§impl Clone for lysc_type_dec
impl Clone for lysc_type_dec
Source§fn clone(&self) -> lysc_type_dec
fn clone(&self) -> lysc_type_dec
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_dec
Source§impl Debug for lysc_type_dec
impl Debug for lysc_type_dec
Auto Trait Implementations§
impl !Send for lysc_type_dec
impl !Sync for lysc_type_dec
impl Freeze for lysc_type_dec
impl RefUnwindSafe for lysc_type_dec
impl Unpin for lysc_type_dec
impl UnsafeUnpin for lysc_type_dec
impl UnwindSafe for lysc_type_dec
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