Struct libyang2_sys::lysc_pattern[][src]

#[repr(C)]pub struct lysc_pattern {
    pub expr: *const c_char,
    pub code: *mut pcre2_code_8,
    pub dsc: *const c_char,
    pub ref_: *const c_char,
    pub emsg: *const c_char,
    pub eapptag: *const c_char,
    pub exts: *mut lysc_ext_instance,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>,
    pub __bindgen_padding_0: u32,
}

Fields

expr: *const c_charcode: *mut pcre2_code_8dsc: *const c_charref_: *const c_charemsg: *const c_chareapptag: *const c_charexts: *mut lysc_ext_instance_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>__bindgen_padding_0: u32

Implementations

impl lysc_pattern[src]

pub fn inverted(&self) -> u32[src]

pub fn set_inverted(&mut self, val: u32)[src]

pub fn refcount(&self) -> u32[src]

pub fn set_refcount(&mut self, val: u32)[src]

pub fn new_bitfield_1(
    inverted: u32,
    refcount: u32
) -> __BindgenBitfieldUnit<[u8; 4], u32>
[src]

Trait Implementations

impl Clone for lysc_pattern[src]

impl Copy for lysc_pattern[src]

impl Debug for lysc_pattern[src]

impl Default for lysc_pattern[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.