We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef35d56 + 37ff0f4 commit d571802Copy full SHA for d571802
src/lib.rs
@@ -4,7 +4,7 @@ use std::ascii::AsciiExt;
4
#[derive(Debug)]
5
struct Bom ( u8, u8, u8, u8 );
6
7
-#[derive(Clone,Debug)]
+#[derive(Clone,Debug,PartialEq,Eq)]
8
enum Flavour {
9
UCS,
10
UTF,
@@ -13,7 +13,7 @@ enum Flavour {
13
Unknown,
14
}
15
16
17
enum ByteOrder {
18
BigEndian,
19
LittleEndian,
@@ -22,14 +22,14 @@ enum ByteOrder {
22
NotApplicable
23
24
25
26
enum Width {
27
EightBit = 8,
28
SixteenBit = 16,
29
ThirtyTwoBit = 32
30
31
32
33
struct Descriptor (
34
Flavour,
35
Width,
0 commit comments