#[repr(C)]pub struct OpenbimIfcVersion {
pub abi_major: u16,
pub abi_minor: u16,
pub abi_patch: u16,
pub crate_major: u16,
pub crate_minor: u16,
pub crate_patch: u16,
}Expand description
ABI and crate versions, reported separately: the ABI version changes only when the C surface does, the crate version on every release.
Fields§
§abi_major: u16ABI major; also the v0_1 in every symbol name.
abi_minor: u16ABI minor.
abi_patch: u16ABI patch.
crate_major: u16Crate major.
crate_minor: u16Crate minor.
crate_patch: u16Crate patch.
Trait Implementations§
Source§impl Clone for OpenbimIfcVersion
impl Clone for OpenbimIfcVersion
Source§fn clone(&self) -> OpenbimIfcVersion
fn clone(&self) -> OpenbimIfcVersion
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 OpenbimIfcVersion
Source§impl Debug for OpenbimIfcVersion
impl Debug for OpenbimIfcVersion
Source§impl Default for OpenbimIfcVersion
impl Default for OpenbimIfcVersion
Source§fn default() -> OpenbimIfcVersion
fn default() -> OpenbimIfcVersion
Returns the “default value” for a type. Read more
impl Eq for OpenbimIfcVersion
Source§impl PartialEq for OpenbimIfcVersion
impl PartialEq for OpenbimIfcVersion
impl StructuralPartialEq for OpenbimIfcVersion
Auto Trait Implementations§
impl Freeze for OpenbimIfcVersion
impl RefUnwindSafe for OpenbimIfcVersion
impl Send for OpenbimIfcVersion
impl Sync for OpenbimIfcVersion
impl Unpin for OpenbimIfcVersion
impl UnsafeUnpin for OpenbimIfcVersion
impl UnwindSafe for OpenbimIfcVersion
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.