#[repr(C)]pub struct lyd_value_union {
pub value: lyd_value,
pub original: *mut c_void,
pub orig_size_bits: u32,
pub hints: u32,
pub format: Type,
pub prefix_data: *mut c_void,
pub ctx_node: *const lysc_node,
pub top_ext: *const lysc_ext_instance,
}Fields§
§value: lyd_value§original: *mut c_void§orig_size_bits: u32§hints: u32§format: Type§prefix_data: *mut c_void§ctx_node: *const lysc_node§top_ext: *const lysc_ext_instanceTrait Implementations§
Source§impl Clone for lyd_value_union
impl Clone for lyd_value_union
Source§fn clone(&self) -> lyd_value_union
fn clone(&self) -> lyd_value_union
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for lyd_value_union
impl Default for lyd_value_union
impl Copy for lyd_value_union
Auto Trait Implementations§
impl Freeze for lyd_value_union
impl RefUnwindSafe for lyd_value_union
impl !Send for lyd_value_union
impl !Sync for lyd_value_union
impl Unpin for lyd_value_union
impl UnwindSafe for lyd_value_union
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)