#[repr(C)]pub struct lyd_value_bits {
pub bitmap: *mut c_char,
pub items: *mut *mut lysc_type_bitenum_item,
}Expand description
@brief Special lyd_value structure for built-in bits values.
Fields§
§bitmap: *mut c_char< bitmap of size ::lyplg_type_bits_bitmap_size(), if its value is cast to an integer type of the corresponding size, can be used directly as a bitmap
items: *mut *mut lysc_type_bitenum_item< list of set pointers to the specification of the set bits ([sized array](@ref sizedarrays))
Trait Implementations§
Source§impl Clone for lyd_value_bits
impl Clone for lyd_value_bits
Source§fn clone(&self) -> lyd_value_bits
fn clone(&self) -> lyd_value_bits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for lyd_value_bits
Source§impl Debug for lyd_value_bits
impl Debug for lyd_value_bits
Auto Trait Implementations§
impl !Send for lyd_value_bits
impl !Sync for lyd_value_bits
impl Freeze for lyd_value_bits
impl RefUnwindSafe for lyd_value_bits
impl Unpin for lyd_value_bits
impl UnsafeUnpin for lyd_value_bits
impl UnwindSafe for lyd_value_bits
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