Skip to main content

Record

Trait Record 

Source
pub trait Record {
    // Required methods
    fn mat(&self) -> u32;
    fn mf(&self) -> u32;
    fn mt(&self) -> u32;
    fn ns(&self) -> Option<u32>;
}
Expand description

Basic structure of an ENDF tape.

Required Methods§

Source

fn mat(&self) -> u32

Returns the material control number

Source

fn mf(&self) -> u32

Returns the file control number.

Source

fn mt(&self) -> u32

Returns the section control number.

Source

fn ns(&self) -> Option<u32>

Returns the optional sequence control number.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§