#[repr(C)]pub struct CFrame {
pub atoms: *mut CAtom,
pub num_atoms: usize,
pub cell: [f64; 3],
pub angles: [f64; 3],
pub has_velocities: bool,
}Expand description
A transparent, “lossy” C-struct containing only the core atomic data.
This can be extracted from an RKRConFrame handle for direct data access.
The caller is responsible for freeing the atoms array using free_c_frame.
Fields§
§atoms: *mut CAtom§num_atoms: usize§cell: [f64; 3]§angles: [f64; 3]§has_velocities: boolAuto Trait Implementations§
impl Freeze for CFrame
impl RefUnwindSafe for CFrame
impl !Send for CFrame
impl !Sync for CFrame
impl Unpin for CFrame
impl UnsafeUnpin for CFrame
impl UnwindSafe for CFrame
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