pub struct NitfField<V: FromStr + Debug + Default + Display> {
pub val: V,
pub length: usize,
pub name: String,
}
Expand description
Lowest level object for file parsing
Fields§
§val: V
Parsed representation of value
length: usize
Number of bytes used to store value in file
name: String
Name of field
Implementations§
Trait Implementations§
Source§impl<V: Ord + FromStr + Debug + Default + Display> Ord for NitfField<V>
impl<V: Ord + FromStr + Debug + Default + Display> Ord for NitfField<V>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<V: PartialOrd + FromStr + Debug + Default + Display> PartialOrd for NitfField<V>
impl<V: PartialOrd + FromStr + Debug + Default + Display> PartialOrd for NitfField<V>
impl<V: Eq + FromStr + Debug + Default + Display> Eq for NitfField<V>
impl<V: FromStr + Debug + Default + Display> StructuralPartialEq for NitfField<V>
Auto Trait Implementations§
impl<V> Freeze for NitfField<V>where
V: Freeze,
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