Struct libyang2_sys::lysp_type
source · #[repr(C)]pub struct lysp_type {Show 15 fields
pub name: *const c_char,
pub range: *mut lysp_restr,
pub length: *mut lysp_restr,
pub patterns: *mut lysp_restr,
pub enums: *mut lysp_type_enum,
pub bits: *mut lysp_type_enum,
pub path: *mut lyxp_expr,
pub bases: *mut *const c_char,
pub types: *mut lysp_type,
pub exts: *mut lysp_ext_instance,
pub pmod: *const lysp_module,
pub compiled: *mut lysc_type,
pub fraction_digits: u8,
pub require_instance: u8,
pub flags: u16,
}
Fields§
§name: *const c_char
§range: *mut lysp_restr
§length: *mut lysp_restr
§patterns: *mut lysp_restr
§enums: *mut lysp_type_enum
§bits: *mut lysp_type_enum
§path: *mut lyxp_expr
§bases: *mut *const c_char
§types: *mut lysp_type
§exts: *mut lysp_ext_instance
§pmod: *const lysp_module
§compiled: *mut lysc_type
§fraction_digits: u8
§require_instance: u8
§flags: u16
Trait Implementations§
impl Copy for lysp_type
Auto Trait Implementations§
impl RefUnwindSafe for lysp_type
impl !Send for lysp_type
impl !Sync for lysp_type
impl Unpin for lysp_type
impl UnwindSafe for lysp_type
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