#[repr(C)]pub struct lysc_type_leafref {
pub name: *const c_char,
pub exts: *mut lysc_ext_instance,
pub plugin_ref: usize,
pub basetype: Type,
pub refcount: u32,
pub path: *mut lyxp_expr,
pub prefixes: *mut lysc_prefix,
pub realtype: *mut lysc_type,
pub require_instance: u8,
}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
path: *mut lyxp_expr< parsed target path, compiled path cannot be stored because of type sharing
prefixes: *mut lysc_prefix< resolved prefixes used in the path
realtype: *mut lysc_type< pointer to the real (first non-leafref in possible leafrefs chain) type.
require_instance: u8< require-instance flag
Trait Implementations§
Source§impl Clone for lysc_type_leafref
impl Clone for lysc_type_leafref
Source§fn clone(&self) -> lysc_type_leafref
fn clone(&self) -> lysc_type_leafref
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_leafref
Source§impl Debug for lysc_type_leafref
impl Debug for lysc_type_leafref
Auto Trait Implementations§
impl !Send for lysc_type_leafref
impl !Sync for lysc_type_leafref
impl Freeze for lysc_type_leafref
impl RefUnwindSafe for lysc_type_leafref
impl Unpin for lysc_type_leafref
impl UnsafeUnpin for lysc_type_leafref
impl UnwindSafe for lysc_type_leafref
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