UA_DataType

Struct UA_DataType 

Source
#[repr(C)]
pub struct UA_DataType { pub typeName: *const c_char, pub typeId: UA_NodeId, pub binaryEncodingId: UA_NodeId, pub _bitfield_align_1: [u16; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>, pub members: *mut UA_DataTypeMember, }

Fields§

§typeName: *const c_char§typeId: UA_NodeId§binaryEncodingId: UA_NodeId§_bitfield_align_1: [u16; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>§members: *mut UA_DataTypeMember

Implementations§

Source§

impl UA_DataType

Source

pub fn memSize(&self) -> UA_UInt32

Source

pub fn set_memSize(&mut self, val: UA_UInt32)

Source

pub unsafe fn memSize_raw(this: *const Self) -> UA_UInt32

Source

pub unsafe fn set_memSize_raw(this: *mut Self, val: UA_UInt32)

Source

pub fn typeKind(&self) -> UA_UInt32

Source

pub fn set_typeKind(&mut self, val: UA_UInt32)

Source

pub unsafe fn typeKind_raw(this: *const Self) -> UA_UInt32

Source

pub unsafe fn set_typeKind_raw(this: *mut Self, val: UA_UInt32)

Source

pub fn pointerFree(&self) -> UA_UInt32

Source

pub fn set_pointerFree(&mut self, val: UA_UInt32)

Source

pub unsafe fn pointerFree_raw(this: *const Self) -> UA_UInt32

Source

pub unsafe fn set_pointerFree_raw(this: *mut Self, val: UA_UInt32)

Source

pub fn overlayable(&self) -> UA_UInt32

Source

pub fn set_overlayable(&mut self, val: UA_UInt32)

Source

pub unsafe fn overlayable_raw(this: *const Self) -> UA_UInt32

Source

pub unsafe fn set_overlayable_raw(this: *mut Self, val: UA_UInt32)

Source

pub fn membersSize(&self) -> UA_UInt32

Source

pub fn set_membersSize(&mut self, val: UA_UInt32)

Source

pub unsafe fn membersSize_raw(this: *const Self) -> UA_UInt32

Source

pub unsafe fn set_membersSize_raw(this: *mut Self, val: UA_UInt32)

Source

pub fn new_bitfield_1( memSize: UA_UInt32, typeKind: UA_UInt32, pointerFree: UA_UInt32, overlayable: UA_UInt32, membersSize: UA_UInt32, ) -> __BindgenBitfieldUnit<[u8; 4]>

Trait Implementations§

Source§

impl Default for UA_DataType

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.