mirror of
https://github.com/image-rs/image
synced 2024-10-18 08:42:24 +00:00
Make newly added in-place transformation functions private
This commit is contained in:
parent
d3a8acf29a
commit
91f15b1643
|
@ -879,7 +879,7 @@ impl DynamicImage {
|
|||
}
|
||||
|
||||
/// Flip this image vertically in place
|
||||
pub fn flipv_in_place(&mut self) {
|
||||
fn flipv_in_place(&mut self) {
|
||||
dynamic_map!(*self, ref mut p, imageops::flip_vertical_in_place(p))
|
||||
}
|
||||
|
||||
|
@ -890,7 +890,7 @@ impl DynamicImage {
|
|||
}
|
||||
|
||||
/// Flip this image horizontally in place
|
||||
pub fn fliph_in_place(&mut self) {
|
||||
fn fliph_in_place(&mut self) {
|
||||
dynamic_map!(*self, ref mut p, imageops::flip_horizontal_in_place(p))
|
||||
}
|
||||
|
||||
|
@ -907,7 +907,7 @@ impl DynamicImage {
|
|||
}
|
||||
|
||||
/// Rotate this image 180 degrees in place.
|
||||
pub fn rotate180_in_place(&mut self) {
|
||||
fn rotate180_in_place(&mut self) {
|
||||
dynamic_map!(*self, ref mut p, imageops::rotate180_in_place(p))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue