Struct libyang2_sys::lysp_type[][src]

#[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_charrange: *mut lysp_restrlength: *mut lysp_restrpatterns: *mut lysp_restrenums: *mut lysp_type_enumbits: *mut lysp_type_enumpath: *mut lyxp_exprbases: *mut *const c_chartypes: *mut lysp_typeexts: *mut lysp_ext_instancepmod: *const lysp_modulecompiled: *mut lysc_typefraction_digits: u8require_instance: u8flags: u16

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.