Skip to content

Commit bc4d1e7

Browse files
authored
Add derives (#42)
1 parent 53dcc39 commit bc4d1e7

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/chunk.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ use super::*;
1010
/// able to write two things at the same time (which isn't possible with a
1111
/// single chunk because of the streaming nature --- only one writer can borrow
1212
/// it at a time).
13+
#[derive(Clone)]
1314
pub struct Chunk {
1415
pub(crate) buf: Vec<u8>,
1516
pub(crate) offsets: Vec<(Ref, usize)>,

src/color.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,6 +1304,7 @@ impl OutputIntent<'_> {
13041304
}
13051305

13061306
/// The output intent subtype.
1307+
#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
13071308
pub enum OutputIntentSubtype<'a> {
13081309
/// `GTS_PDFX`
13091310
PDFX,

0 commit comments

Comments
 (0)