Skip to content

Commit

Permalink
Add derives (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenzV authored Sep 30, 2024
1 parent 53dcc39 commit bc4d1e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/chunk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use super::*;
/// able to write two things at the same time (which isn't possible with a
/// single chunk because of the streaming nature --- only one writer can borrow
/// it at a time).
#[derive(Clone)]
pub struct Chunk {
pub(crate) buf: Vec<u8>,
pub(crate) offsets: Vec<(Ref, usize)>,
Expand Down
1 change: 1 addition & 0 deletions src/color.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1304,6 +1304,7 @@ impl OutputIntent<'_> {
}

/// The output intent subtype.
#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
pub enum OutputIntentSubtype<'a> {
/// `GTS_PDFX`
PDFX,
Expand Down

0 comments on commit bc4d1e7

Please sign in to comment.