#[repr(C)]pub struct Element {
pub symbol: string,
pub name: string,
pub atomicNumber: c_short,
pub isotopes: __BindgenOpaqueArray<u64, 3usize>,
pub xrays: __BindgenOpaqueArray<u64, 3usize>,
}Fields§
§symbol: string§name: string§atomicNumber: c_short§isotopes: __BindgenOpaqueArray<u64, 3usize>§xrays: __BindgenOpaqueArray<u64, 3usize>Implementations§
Source§impl Element
impl Element
pub unsafe fn atomicMass(&self) -> f64
pub unsafe fn set( &mut self, node: *mut xml_node, nuclides: *const __BindgenOpaqueArray<u64, 3usize>, )
pub unsafe fn memsize(&self) -> usize
pub unsafe fn lessThan(lhs: *const Element, rhs: *const Element) -> bool
pub unsafe fn lessThanForAtomicNum( lhs: *const Element, atomicNum: c_int, ) -> bool
pub unsafe fn new( node: *mut xml_node, nuclides: *const __BindgenOpaqueArray<u64, 3usize>, ) -> Self
Auto Trait Implementations§
impl Freeze for Element
impl RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnwindSafe for Element
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