pub struct Info { /* private fields */ }
Expand description
Global Julia information.
Implementations
sourceimpl Info
impl Info
sourcepub fn n_cpu_threads(&self) -> usize
pub fn n_cpu_threads(&self) -> usize
Number of threads the CPU supports.
sourcepub fn allocation_granularity(&self) -> usize
pub fn allocation_granularity(&self) -> usize
The allocation granularity.
sourcepub fn is_debugbuild(&self) -> bool
pub fn is_debugbuild(&self) -> bool
Returns true
if a debug build of Julia is used.
sourcepub fn uname(&self) -> StrOrBytes<'static>
pub fn uname(&self) -> StrOrBytes<'static>
Name and information of the kernel.
sourcepub fn arch(&self) -> StrOrBytes<'static>
pub fn arch(&self) -> StrOrBytes<'static>
The CPU architecture.
sourcepub fn major_version(&self) -> isize
pub fn major_version(&self) -> isize
The major version of Julia.
sourcepub fn minor_version(&self) -> isize
pub fn minor_version(&self) -> isize
The minor version of Julia.
sourcepub fn patch_version(&self) -> isize
pub fn patch_version(&self) -> isize
The patch version of Julia.
sourcepub fn is_release(&self) -> bool
pub fn is_release(&self) -> bool
Returns true if a release version of Julia is used.
sourcepub fn git_branch(&self) -> StrOrBytes<'static>
pub fn git_branch(&self) -> StrOrBytes<'static>
Returns the git branch that was used to compile the used version of Julia.
sourcepub fn git_commit(&self) -> &'static str
pub fn git_commit(&self) -> &'static str
Returns the git commit that was used to compile the used version of Julia.
sourcepub fn version_string(&self) -> &'static str
pub fn version_string(&self) -> &'static str
Returns the version string of the used version of Julia.
Auto Trait Implementations
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more