#[repr(C)]pub struct OpenbimIfcValueNode {
pub kind: i32,
pub child_count: u32,
pub int_value: i64,
pub real_value: f64,
pub str_offset: u64,
pub str_len: u64,
}Expand description
One node of a value tape. Fields a kind does not use are zero.
Fields§
§kind: i32One of the OPENBIM_IFC_KIND_* codes.
child_count: u32Children following a list node; 0 otherwise.
int_value: i64Payload of bool (0/1), integer and ref.
real_value: f64Payload of real.
str_offset: u64Byte offset of this node’s string in the string buffer.
str_len: u64Byte length of this node’s string (no NUL terminator).
Trait Implementations§
Source§impl Clone for OpenbimIfcValueNode
impl Clone for OpenbimIfcValueNode
Source§fn clone(&self) -> OpenbimIfcValueNode
fn clone(&self) -> OpenbimIfcValueNode
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 OpenbimIfcValueNode
Source§impl Debug for OpenbimIfcValueNode
impl Debug for OpenbimIfcValueNode
Source§impl Default for OpenbimIfcValueNode
impl Default for OpenbimIfcValueNode
Source§fn default() -> OpenbimIfcValueNode
fn default() -> OpenbimIfcValueNode
Returns the “default value” for a type. Read more
Source§impl PartialEq for OpenbimIfcValueNode
impl PartialEq for OpenbimIfcValueNode
impl StructuralPartialEq for OpenbimIfcValueNode
Auto Trait Implementations§
impl Freeze for OpenbimIfcValueNode
impl RefUnwindSafe for OpenbimIfcValueNode
impl Send for OpenbimIfcValueNode
impl Sync for OpenbimIfcValueNode
impl Unpin for OpenbimIfcValueNode
impl UnsafeUnpin for OpenbimIfcValueNode
impl UnwindSafe for OpenbimIfcValueNode
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