#[repr(C)]pub struct QuESTEnv {
pub rank: c_int,
pub numRanks: c_int,
pub seeds: *mut c_ulong,
pub numSeeds: c_int,
}Expand description
Information about the environment the program is running in. In practice, this holds info about MPI ranks and helps to hide MPI initialization code
@ingroup type @author Ania Brown @author Tyson Jones (seeding)
Fields
rank: c_intnumRanks: c_intseeds: *mut c_ulongnumSeeds: c_intTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for QuESTEnv
impl !Send for QuESTEnv
impl !Sync for QuESTEnv
impl Unpin for QuESTEnv
impl UnwindSafe for QuESTEnv
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more