Union libyang2_sys::lyd_any_value
source · #[repr(C)]
pub union lyd_any_value {
pub tree: *mut lyd_node,
pub str_: *const c_char,
pub xml: *const c_char,
pub json: *const c_char,
pub mem: *mut c_char,
}Fields
tree: *mut lyd_nodestr_: *const c_charxml: *const c_charjson: *const c_charmem: *mut c_charTrait Implementations
sourceimpl Clone for lyd_any_value
impl Clone for lyd_any_value
sourcefn clone(&self) -> lyd_any_value
fn clone(&self) -> lyd_any_value
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Default for lyd_any_value
impl Default for lyd_any_value
impl Copy for lyd_any_value
Auto Trait Implementations
impl RefUnwindSafe for lyd_any_value
impl !Send for lyd_any_value
impl !Sync for lyd_any_value
impl Unpin for lyd_any_value
impl UnwindSafe for lyd_any_value
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more