pub struct NitfField<V: FromStr + Debug> {
pub bytes: Vec<u8>,
pub offset: u64,
pub string: String,
pub val: V,
pub length: u64,
}
Expand description
Lowest level object for file parsing
Fields§
§bytes: Vec<u8>
Byte representation
offset: u64
Byte offset in file
string: String
String representation of field
val: V
Parsed representation of value
length: u64
Number of bytes used to store value in file
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<V> RefUnwindSafe for NitfField<V>where V: RefUnwindSafe,
impl<V> Send for NitfField<V>where V: Send,
impl<V> Sync for NitfField<V>where V: Sync,
impl<V> Unpin for NitfField<V>where V: Unpin,
impl<V> UnwindSafe for NitfField<V>where V: UnwindSafe,
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