Skip to content

Commit

Permalink
Made offsets public due to being in a non-trait impl
Browse files Browse the repository at this point in the history
  • Loading branch information
brykgroup-andrews committed Feb 19, 2024
1 parent 2176a1f commit 00e9e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,7 @@ impl<I> SubImage<I> {
}

/// The offsets of this subimage relative to the underlying image.
fn offsets(&self) -> (u32, u32) {
pub fn offsets(&self) -> (u32, u32) {
(self.inner.xoffset, self.inner.yoffset)
}

Expand Down

0 comments on commit 00e9e01

Please sign in to comment.