#[repr(C)]pub struct lyd_value_union {
pub value: lyd_value,
pub original: *mut c_void,
pub orig_len: usize,
pub hints: u32,
pub format: Type,
pub prefix_data: *mut c_void,
pub ctx_node: *const lysc_node,
}Fields§
§value: lyd_value§original: *mut c_void§orig_len: usize§hints: u32§format: Type§prefix_data: *mut c_void§ctx_node: *const lysc_nodeTrait 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 · Source§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§
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