Struct passpartout_printer::easel::EaselCoords
source · [−]pub struct EaselCoords {
pub portrait_bounds: (Coord, Coord),
pub landscape_bounds: (Coord, Coord),
pub paintbrush: Coord,
pub spray_can: Coord,
pub pen: Coord,
pub decrease_brush: Coord,
pub increase_brush: Coord,
pub change_orientation: Coord,
pub color_start: Coord,
pub color_row_step: i32,
pub color_col_step: i32,
}
Expand description
A structure containing the location of all the tools on the easel.
Fields
portrait_bounds: (Coord, Coord)
landscape_bounds: (Coord, Coord)
paintbrush: Coord
spray_can: Coord
pen: Coord
decrease_brush: Coord
increase_brush: Coord
change_orientation: Coord
color_start: Coord
color_row_step: i32
color_col_step: i32
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for EaselCoords
impl<'de> Deserialize<'de> for EaselCoords
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for EaselCoords
impl Serialize for EaselCoords
Auto Trait Implementations
impl RefUnwindSafe for EaselCoords
impl Send for EaselCoords
impl Sync for EaselCoords
impl Unpin for EaselCoords
impl UnwindSafe for EaselCoords
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more