#[repr(C)]pub struct FluxFileHeader {
pub n_zone: u32,
pub n_fluxes: u32,
}Expand description
Represents the header of a flux file.
This header contains metadata about the flux data stored in the file, including the number of zones and the number of flux interactions.
Fields§
§n_zone: u32The number of zones in the flux file data.
n_fluxes: u32The number of flux interactions in the file.
Trait Implementations§
Source§impl Clone for FluxFileHeader
impl Clone for FluxFileHeader
Source§fn clone(&self) -> FluxFileHeader
fn clone(&self) -> FluxFileHeader
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 Default for FluxFileHeader
impl Default for FluxFileHeader
Source§fn default() -> FluxFileHeader
fn default() -> FluxFileHeader
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FluxFileHeader
impl<'de> Deserialize<'de> for FluxFileHeader
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromBytes for FluxFileHeader
impl FromBytes for FluxFileHeader
Source§impl Serialize for FluxFileHeader
impl Serialize for FluxFileHeader
impl Copy for FluxFileHeader
Auto Trait Implementations§
impl Freeze for FluxFileHeader
impl RefUnwindSafe for FluxFileHeader
impl Send for FluxFileHeader
impl Sync for FluxFileHeader
impl Unpin for FluxFileHeader
impl UnsafeUnpin for FluxFileHeader
impl UnwindSafe for FluxFileHeader
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,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.