#[repr(C)]
pub union lyd_value__bindgen_ty_1 {
Show 16 fields pub boolean: i8, pub dec64: i64, pub int8: i8, pub int16: i16, pub int32: i32, pub int64: i64, pub uint8: u8, pub uint16: u16, pub uint32: u32, pub uint64: u64, pub enum_item: *mut lysc_type_bitenum_item, pub ident: *mut lysc_ident, pub target: *mut ly_path, pub subvalue: *mut lyd_value_union, pub dyn_mem: *mut c_void, pub fixed_mem: [u8; 24],
}

Fields

boolean: i8dec64: i64int8: i8int16: i16int32: i32int64: i64uint8: u8uint16: u16uint32: u32uint64: u64enum_item: *mut lysc_type_bitenum_itemident: *mut lysc_identtarget: *mut ly_pathsubvalue: *mut lyd_value_uniondyn_mem: *mut c_voidfixed_mem: [u8; 24]

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.