pub struct IesParser;Expand description
IES file format parser.
Parses IES LM-63 format files (versions 1991, 1995, 2002, 2019).
Supports both UTF-8 and ISO-8859-1 (Latin-1) encoded files, with automatic detection and conversion. This is necessary because many IES files from Windows-based tools use ISO-8859-1 encoding.
Implementations§
Source§impl IesParser
impl IesParser
Sourcepub fn parse_file<P: AsRef<Path>>(path: P) -> Result<Eulumdat>
pub fn parse_file<P: AsRef<Path>>(path: P) -> Result<Eulumdat>
Parse an IES file from a file path.
Automatically handles both UTF-8 and ISO-8859-1 (Latin-1) encoded files.
Sourcepub fn parse_to_ies_data(content: &str) -> Result<IesData>
pub fn parse_to_ies_data(content: &str) -> Result<IesData>
Parse IES content and return raw IES data structure.
This is useful for accessing IES-specific fields that don’t map to Eulumdat.
Auto Trait Implementations§
impl Freeze for IesParser
impl RefUnwindSafe for IesParser
impl Send for IesParser
impl Sync for IesParser
impl Unpin for IesParser
impl UnsafeUnpin for IesParser
impl UnwindSafe for IesParser
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