Sides
pub struct Sides {}Parameters for adding or removing pixels from the sides of an image.
Fields
Difference for the top of the image.
right
PixelsOrPercentageDifference for the right of the image.
bottom
PixelsOrPercentageDifference for the bottom of the image.
Difference for the left of the image.
Trait implementations
impl Clone for Sides
impl Debug for Sides
impl Serialize for Sides
serialize
View sourcewhere S: Serializer,Parameters
- self: &Self
- serializer: S
Returns
Result<S::Ok, S::Error>