Struct libyang2_sys::lysp_type_enum
source · #[repr(C)]pub struct lysp_type_enum {
pub name: *const c_char,
pub dsc: *const c_char,
pub ref_: *const c_char,
pub value: i64,
pub iffeatures: *mut lysp_qname,
pub exts: *mut lysp_ext_instance,
pub flags: u16,
}
Fields§
§name: *const c_char
§dsc: *const c_char
§ref_: *const c_char
§value: i64
§iffeatures: *mut lysp_qname
§exts: *mut lysp_ext_instance
§flags: u16
Trait Implementations§
source§impl Clone for lysp_type_enum
impl Clone for lysp_type_enum
source§fn clone(&self) -> lysp_type_enum
fn clone(&self) -> lysp_type_enum
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for lysp_type_enum
impl Debug for lysp_type_enum
source§impl Default for lysp_type_enum
impl Default for lysp_type_enum
impl Copy for lysp_type_enum
Auto Trait Implementations§
impl RefUnwindSafe for lysp_type_enum
impl !Send for lysp_type_enum
impl !Sync for lysp_type_enum
impl Unpin for lysp_type_enum
impl UnwindSafe for lysp_type_enum
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