pub struct GgDatSection {
pub section_number: usize,
pub values: Array2<Complex64>,
pub raw_prefix_lines: Option<Vec<Vec<u8>>>,
}Expand description
One Write2D section from FEFF gg.dat.
Fields§
§section_number: usizeOne-based section number from the #SN# marker.
values: Array2<Complex64>Complex Green’s-function matrix for this section.
raw_prefix_lines: Option<Vec<Vec<u8>>>Raw section prefix lines through the #DT#/#H# boilerplate.
Generated FEFF gg.dat and gg.bin files can contain non-UTF bytes in
#DF# descriptor lines. Byte readers preserve those lines here so
byte-level roundtrips do not lose the original descriptor payload.
Implementations§
Trait Implementations§
Source§impl Clone for GgDatSection
impl Clone for GgDatSection
Source§fn clone(&self) -> GgDatSection
fn clone(&self) -> GgDatSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GgDatSection
impl Debug for GgDatSection
Source§impl PartialEq for GgDatSection
impl PartialEq for GgDatSection
impl StructuralPartialEq for GgDatSection
Auto Trait Implementations§
impl Freeze for GgDatSection
impl RefUnwindSafe for GgDatSection
impl Send for GgDatSection
impl Sync for GgDatSection
impl Unpin for GgDatSection
impl UnsafeUnpin for GgDatSection
impl UnwindSafe for GgDatSection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more