pub struct FileState {
pub datum: Datum,
pub base_location: UtmLocation,
pub utm_zone: Option<u8>,
pub file_convergence: Option<FileConvergence>,
pub project_parameters: Option<ProjectParameters>,
}Expand description
State captured when a .dat file is encountered during project parsing.
Compass uses rolling state - each file captures whatever state was active at the moment it was parsed. This allows different files in the same project to have different datums, base locations, etc.
Fields§
§datum: DatumThe datum active when this file was encountered
base_location: UtmLocationThe base location active when this file was encountered
utm_zone: Option<u8>The UTM zone for fixed stations (optional)
file_convergence: Option<FileConvergence>File-level convergence parameter (optional)
project_parameters: Option<ProjectParameters>Project-level parameter flags (optional)
Trait Implementations§
impl StructuralPartialEq for FileState
Auto Trait Implementations§
impl Freeze for FileState
impl RefUnwindSafe for FileState
impl Send for FileState
impl Sync for FileState
impl Unpin for FileState
impl UnwindSafe for FileState
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