pub struct GraphicHeader {Show 17 fields
pub sy: NitfField<SY>,
pub sid: NitfField<String>,
pub sname: NitfField<String>,
pub security: Security,
pub encryp: NitfField<String>,
pub sfmt: NitfField<Format>,
pub sstruct: NitfField<u64>,
pub sdlvl: NitfField<u16>,
pub salvl: NitfField<u16>,
pub sloc: NitfField<BoundLocation>,
pub sbnd1: NitfField<BoundLocation>,
pub scolor: NitfField<Color>,
pub sbnd2: NitfField<BoundLocation>,
pub sres2: NitfField<u8>,
pub sxshdl: NitfField<u16>,
pub sxsofl: NitfField<u16>,
pub sxshd: ExtendedSubheader,
}
Expand description
Header fields for Graphic Segment
Fields§
§sy: NitfField<SY>
File Part Type
sid: NitfField<String>
Graphic Identifier
sname: NitfField<String>
Graphic Name
security: Security
Security information
encryp: NitfField<String>
Encryption
sfmt: NitfField<Format>
Graphic Type
sstruct: NitfField<u64>
Reserved for Future Use
sdlvl: NitfField<u16>
Graphic Display Level
salvl: NitfField<u16>
Graphic Attachment Level
sloc: NitfField<BoundLocation>
Graphic Location
sbnd1: NitfField<BoundLocation>
First Graphic Bound Location
scolor: NitfField<Color>
Graphic Color
sbnd2: NitfField<BoundLocation>
Second Graphic Bound Location
sres2: NitfField<u8>
Reserved for Future Use
sxshdl: NitfField<u16>
Graphic Extended Subheader Data Length
sxsofl: NitfField<u16>
Graphic Extended Subheader Overflow
sxshd: ExtendedSubheader
Graphic Extended Subheader Data
Trait Implementations§
Source§impl Clone for GraphicHeader
impl Clone for GraphicHeader
Source§fn clone(&self) -> GraphicHeader
fn clone(&self) -> GraphicHeader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GraphicHeader
impl Debug for GraphicHeader
Source§impl Default for GraphicHeader
impl Default for GraphicHeader
Source§impl Display for GraphicHeader
impl Display for GraphicHeader
Source§impl NitfSegmentHeader for GraphicHeader
impl NitfSegmentHeader for GraphicHeader
Source§fn read(&mut self, reader: &mut (impl Read + Seek)) -> NitfResult<()>
fn read(&mut self, reader: &mut (impl Read + Seek)) -> NitfResult<()>
Read the segment info from stream Read more
Source§fn write(&self, writer: &mut (impl Write + Seek)) -> NitfResult<usize>
fn write(&self, writer: &mut (impl Write + Seek)) -> NitfResult<usize>
Write the segment info to stream Read more
fn from_reader(reader: &mut (impl Read + Seek)) -> NitfResult<Self>
Source§impl Ord for GraphicHeader
impl Ord for GraphicHeader
Source§fn cmp(&self, other: &GraphicHeader) -> Ordering
fn cmp(&self, other: &GraphicHeader) -> Ordering
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 PartialEq for GraphicHeader
impl PartialEq for GraphicHeader
Source§impl PartialOrd for GraphicHeader
impl PartialOrd for GraphicHeader
impl Eq for GraphicHeader
impl StructuralPartialEq for GraphicHeader
Auto Trait Implementations§
impl Freeze for GraphicHeader
impl RefUnwindSafe for GraphicHeader
impl Send for GraphicHeader
impl Sync for GraphicHeader
impl Unpin for GraphicHeader
impl UnwindSafe for GraphicHeader
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