Debian Codegraph @

examples/tiff-ls.rs

raw symbols SCIP
1 use stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::borrowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/::Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#;
2
3 use tiffrust-analyzer cargo tiff 0.11.3 crate/::decoderrust-analyzer cargo tiff 0.11.3 decoder/::Decoderrust-analyzer cargo tiff 0.11.3 decoder/Decoder#;
4
5 fn mainrust-analyzer cargo tiff 0.11.3 main().() -> Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#<(), Boxrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc boxed/Box#<dyn stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::errorrust-analyzer cargo std https://github.com/rust-lang/rust/library/std error/::Errorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core error/Error#>> {
6 let Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(image) = stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::envrust-analyzer cargo std https://github.com/rust-lang/rust/library/std env/::args_osrust-analyzer cargo std https://github.com/rust-lang/rust/library/std env/args_os().().nthrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#nth().(1) else {
7 eprintlnrust-analyzer cargo std https://github.com/rust-lang/rust/library/std macros/eprintln!!("Usage: decode FILE");
8 return Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(());
9 };
10
11 let file = stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::fsrust-analyzer cargo std https://github.com/rust-lang/rust/library/std fs/::Filerust-analyzer cargo std https://github.com/rust-lang/rust/library/std fs/File#::openrust-analyzer cargo std https://github.com/rust-lang/rust/library/std fs/impl#[File]open().(image)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().;
12 let io = stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::iorust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/::BufReaderrust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/buffered/bufreader/BufReader#::newrust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/buffered/bufreader/impl#[`BufReader<R>`]new().(file);
13 let mut reader = Decoderrust-analyzer cargo tiff 0.11.3 decoder/Decoder#::newrust-analyzer cargo tiff 0.11.3 decoder/impl#[`Decoder<R>`]new().(io)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().;
14
15 loop {
16 ls_dirrust-analyzer cargo tiff 0.11.3 ls_dir().(&mut reader);
17
18 if !rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[bool][Not]not().reader.more_imagesrust-analyzer cargo tiff 0.11.3 decoder/impl#[`Decoder<R>`]more_images().() {
19 break;
20 }
21 }
22
23 Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(())
24 }
25
26 fn ls_dirrust-analyzer cargo tiff 0.11.3 ls_dir().<R: stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::iorust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/::Readrust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/Read# + stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::iorust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/::Seekrust-analyzer cargo std https://github.com/rust-lang/rust/library/std io/Seek#>(reader: &mut Decoderrust-analyzer cargo tiff 0.11.3 decoder/Decoder#<R>) {
27 if let Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(ifd) = reader.ifd_pointerrust-analyzer cargo tiff 0.11.3 decoder/impl#[`Decoder<R>`]ifd_pointer().() {
28 printlnrust-analyzer cargo std https://github.com/rust-lang/rust/library/std macros/println!!("Directory at {ifd:x}");
29 }
30
31 printlnrust-analyzer cargo std https://github.com/rust-lang/rust/library/std macros/println!!("Name\tHex\tType\tCount");
32 let ifd = reader.image_ifdrust-analyzer cargo tiff 0.11.3 decoder/impl#[`Decoder<R>`]image_ifd().();
33
34 for (tag, entry) in ifd.directoryrust-analyzer cargo tiff 0.11.3 decoder/impl#[`IfdDecoder<'_>`]directory().().iterrust-analyzer cargo tiff 0.11.3 directory/impl#[Directory]iter().() {
35 let name: &'static str = match tag {
36 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::Artistrust-analyzer cargo tiff 0.11.3 tags/Tag#Artist# => "Artist",
37 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::BitsPerSamplerust-analyzer cargo tiff 0.11.3 tags/Tag#BitsPerSample# => "BitsPerSample",
38 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::CellLengthrust-analyzer cargo tiff 0.11.3 tags/Tag#CellLength# => "CellLength",
39 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::CellWidthrust-analyzer cargo tiff 0.11.3 tags/Tag#CellWidth# => "CellWidth",
40 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::ColorMaprust-analyzer cargo tiff 0.11.3 tags/Tag#ColorMap# => "ColorMap",
41 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::Compressionrust-analyzer cargo tiff 0.11.3 tags/Tag#Compression# => "Compression",
42 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::DateTimerust-analyzer cargo tiff 0.11.3 tags/Tag#DateTime# => "DateTime",
43 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::ExtraSamplesrust-analyzer cargo tiff 0.11.3 tags/Tag#ExtraSamples# => "ExtraSamples",
44 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::FillOrderrust-analyzer cargo tiff 0.11.3 tags/Tag#FillOrder# => "FillOrder",
45 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::FreeByteCountsrust-analyzer cargo tiff 0.11.3 tags/Tag#FreeByteCounts# => "FreeByteCounts",
46 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::FreeOffsetsrust-analyzer cargo tiff 0.11.3 tags/Tag#FreeOffsets# => "FreeOffsets",
47 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::GrayResponseCurverust-analyzer cargo tiff 0.11.3 tags/Tag#GrayResponseCurve# => "GrayResponseCurve",
48 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::GrayResponseUnitrust-analyzer cargo tiff 0.11.3 tags/Tag#GrayResponseUnit# => "GrayResponseUnit",
49 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::HostComputerrust-analyzer cargo tiff 0.11.3 tags/Tag#HostComputer# => "HostComputer",
50 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::ImageDescriptionrust-analyzer cargo tiff 0.11.3 tags/Tag#ImageDescription# => "ImageDescription",
51 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::ImageLengthrust-analyzer cargo tiff 0.11.3 tags/Tag#ImageLength# => "ImageLength",
52 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::ImageWidthrust-analyzer cargo tiff 0.11.3 tags/Tag#ImageWidth# => "ImageWidth",
53 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::Makerust-analyzer cargo tiff 0.11.3 tags/Tag#Make# => "Make",
54 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::MaxSampleValuerust-analyzer cargo tiff 0.11.3 tags/Tag#MaxSampleValue# => "MaxSampleValue",
55 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::MinSampleValuerust-analyzer cargo tiff 0.11.3 tags/Tag#MinSampleValue# => "MinSampleValue",
56 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::Modelrust-analyzer cargo tiff 0.11.3 tags/Tag#Model# => "Model",
57 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::NewSubfileTyperust-analyzer cargo tiff 0.11.3 tags/Tag#NewSubfileType# => "NewSubfileType",
58 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::Orientationrust-analyzer cargo tiff 0.11.3 tags/Tag#Orientation# => "Orientation",
59 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::PhotometricInterpretationrust-analyzer cargo tiff 0.11.3 tags/Tag#PhotometricInterpretation# => "PhotometricInterpretation",
60 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::PlanarConfigurationrust-analyzer cargo tiff 0.11.3 tags/Tag#PlanarConfiguration# => "PlanarConfiguration",
61 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::ResolutionUnitrust-analyzer cargo tiff 0.11.3 tags/Tag#ResolutionUnit# => "ResolutionUnit",
62 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::RowsPerStriprust-analyzer cargo tiff 0.11.3 tags/Tag#RowsPerStrip# => "RowsPerStrip",
63 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::SamplesPerPixelrust-analyzer cargo tiff 0.11.3 tags/Tag#SamplesPerPixel# => "SamplesPerPixel",
64 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::Softwarerust-analyzer cargo tiff 0.11.3 tags/Tag#Software# => "Software",
65 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::StripByteCountsrust-analyzer cargo tiff 0.11.3 tags/Tag#StripByteCounts# => "StripByteCounts",
66 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::StripOffsetsrust-analyzer cargo tiff 0.11.3 tags/Tag#StripOffsets# => "StripOffsets",
67 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::SubfileTyperust-analyzer cargo tiff 0.11.3 tags/Tag#SubfileType# => "SubfileType",
68 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::Threshholdingrust-analyzer cargo tiff 0.11.3 tags/Tag#Threshholding# => "Threshholding",
69 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::XResolutionrust-analyzer cargo tiff 0.11.3 tags/Tag#XResolution# => "XResolution",
70 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::YResolutionrust-analyzer cargo tiff 0.11.3 tags/Tag#YResolution# => "YResolution",
71 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::Predictorrust-analyzer cargo tiff 0.11.3 tags/Tag#Predictor# => "Predictor",
72 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::TileWidthrust-analyzer cargo tiff 0.11.3 tags/Tag#TileWidth# => "TileWidth",
73 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::TileLengthrust-analyzer cargo tiff 0.11.3 tags/Tag#TileLength# => "TileLength",
74 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::TileOffsetsrust-analyzer cargo tiff 0.11.3 tags/Tag#TileOffsets# => "TileOffsets",
75 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::TileByteCountsrust-analyzer cargo tiff 0.11.3 tags/Tag#TileByteCounts# => "TileByteCounts",
76 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::SubIfdrust-analyzer cargo tiff 0.11.3 tags/Tag#SubIfd# => "SubIfd",
77 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::SampleFormatrust-analyzer cargo tiff 0.11.3 tags/Tag#SampleFormat# => "SampleFormat",
78 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::SMinSampleValuerust-analyzer cargo tiff 0.11.3 tags/Tag#SMinSampleValue# => "SMinSampleValue",
79 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::SMaxSampleValuerust-analyzer cargo tiff 0.11.3 tags/Tag#SMaxSampleValue# => "SMaxSampleValue",
80 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::JPEGTablesrust-analyzer cargo tiff 0.11.3 tags/Tag#JPEGTables# => "JPEGTables",
81 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::ChromaSubsamplingrust-analyzer cargo tiff 0.11.3 tags/Tag#ChromaSubsampling# => "ChromaSubsampling",
82 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::ChromaPositioningrust-analyzer cargo tiff 0.11.3 tags/Tag#ChromaPositioning# => "ChromaPositioning",
83 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::ModelPixelScaleTagrust-analyzer cargo tiff 0.11.3 tags/Tag#ModelPixelScaleTag# => "ModelPixelScaleTag",
84 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::ModelTransformationTagrust-analyzer cargo tiff 0.11.3 tags/Tag#ModelTransformationTag# => "ModelTransformationTag",
85 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::ModelTiepointTagrust-analyzer cargo tiff 0.11.3 tags/Tag#ModelTiepointTag# => "ModelTiepointTag",
86 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::Copyrightrust-analyzer cargo tiff 0.11.3 tags/Tag#Copyright# => "Copyright",
87 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::ExifDirectoryrust-analyzer cargo tiff 0.11.3 tags/Tag#ExifDirectory# => "ExifDirectory",
88 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::GpsDirectoryrust-analyzer cargo tiff 0.11.3 tags/Tag#GpsDirectory# => "GpsDirectory",
89 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::IccProfilerust-analyzer cargo tiff 0.11.3 tags/Tag#IccProfile# => "IccProfile",
90 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::GeoKeyDirectoryTagrust-analyzer cargo tiff 0.11.3 tags/Tag#GeoKeyDirectoryTag# => "GeoKeyDirectoryTag",
91 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::GeoDoubleParamsTagrust-analyzer cargo tiff 0.11.3 tags/Tag#GeoDoubleParamsTag# => "GeoDoubleParamsTag",
92 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::GeoAsciiParamsTagrust-analyzer cargo tiff 0.11.3 tags/Tag#GeoAsciiParamsTag# => "GeoAsciiParamsTag",
93 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::ExifVersionrust-analyzer cargo tiff 0.11.3 tags/Tag#ExifVersion# => "ExifVersion",
94 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Tagrust-analyzer cargo tiff 0.11.3 tags/Tag#::GdalNodatarust-analyzer cargo tiff 0.11.3 tags/Tag#GdalNodata# => "GdalNodata",
95 _ => "<unknown>",
96 };
97
98 let ty: Cowrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc borrow/Cow#<'static, str> = match entry.field_typerust-analyzer cargo tiff 0.11.3 decoder/ifd/impl#[Entry]field_type().() {
99 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Typerust-analyzer cargo tiff 0.11.3 tags/Type#::BYTErust-analyzer cargo tiff 0.11.3 tags/Type#BYTE# => "u8".intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
100 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Typerust-analyzer cargo tiff 0.11.3 tags/Type#::ASCIIrust-analyzer cargo tiff 0.11.3 tags/Type#ASCII# => "ascii".intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
101 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Typerust-analyzer cargo tiff 0.11.3 tags/Type#::SHORTrust-analyzer cargo tiff 0.11.3 tags/Type#SHORT# => "u16".intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
102 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Typerust-analyzer cargo tiff 0.11.3 tags/Type#::LONGrust-analyzer cargo tiff 0.11.3 tags/Type#LONG# => "u32".intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
103 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Typerust-analyzer cargo tiff 0.11.3 tags/Type#::RATIONALrust-analyzer cargo tiff 0.11.3 tags/Type#RATIONAL# => "r32".intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
104 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Typerust-analyzer cargo tiff 0.11.3 tags/Type#::SBYTErust-analyzer cargo tiff 0.11.3 tags/Type#SBYTE# => "i8".intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
105 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Typerust-analyzer cargo tiff 0.11.3 tags/Type#::UNDEFINEDrust-analyzer cargo tiff 0.11.3 tags/Type#UNDEFINED# => "byte".intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
106 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Typerust-analyzer cargo tiff 0.11.3 tags/Type#::SSHORTrust-analyzer cargo tiff 0.11.3 tags/Type#SSHORT# => "s16".intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
107 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Typerust-analyzer cargo tiff 0.11.3 tags/Type#::SLONGrust-analyzer cargo tiff 0.11.3 tags/Type#SLONG# => "s32".intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
108 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Typerust-analyzer cargo tiff 0.11.3 tags/Type#::SRATIONALrust-analyzer cargo tiff 0.11.3 tags/Type#SRATIONAL# => "sr32".intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
109 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Typerust-analyzer cargo tiff 0.11.3 tags/Type#::FLOATrust-analyzer cargo tiff 0.11.3 tags/Type#FLOAT# => "f32".intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
110 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Typerust-analyzer cargo tiff 0.11.3 tags/Type#::DOUBLErust-analyzer cargo tiff 0.11.3 tags/Type#DOUBLE# => "f64".intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
111 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Typerust-analyzer cargo tiff 0.11.3 tags/Type#::IFDrust-analyzer cargo tiff 0.11.3 tags/Type#IFD# => "ifd32".intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
112 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Typerust-analyzer cargo tiff 0.11.3 tags/Type#::LONG8rust-analyzer cargo tiff 0.11.3 tags/Type#LONG8# => "u64".intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
113 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Typerust-analyzer cargo tiff 0.11.3 tags/Type#::SLONG8rust-analyzer cargo tiff 0.11.3 tags/Type#SLONG8# => "i64".intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
114 tiffrust-analyzer cargo tiff 0.11.3 crate/::tagsrust-analyzer cargo tiff 0.11.3 tags/::Typerust-analyzer cargo tiff 0.11.3 tags/Type#::IFD8rust-analyzer cargo tiff 0.11.3 tags/Type#IFD8# => "ifd64".intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
115 other => formatrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc macros/format!!("{:x}", other.to_u16rust-analyzer cargo tiff 0.11.3 tags/impl#[Type]to_u16().()).intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
116 };
117
118 eprintlnrust-analyzer cargo std https://github.com/rust-lang/rust/library/std macros/eprintln!!(
119 "{name:16}\t{tag:4x}\t{ty}\t{count}",
120 tag = tag.to_u16rust-analyzer cargo tiff 0.11.3 tags/impl#[Tag]to_u16().(),
121 count = entry.countrust-analyzer cargo tiff 0.11.3 decoder/ifd/impl#[Entry]count().(),
122 );
123 }
124 }