pub struct PlacedImage {
pub image: Image,
pub x: i32,
pub y: i32,
}Expand description
An image and where it goes: its top-left corner x, y pixels (y
down) from the origin it was drawn for — a glyph’s from its pen
position on the baseline, say.
Fields§
§image: Image§x: i32§y: i32Trait Implementations§
Source§impl Clone for PlacedImage
impl Clone for PlacedImage
Source§impl Debug for PlacedImage
impl Debug for PlacedImage
Source§impl Default for PlacedImage
impl Default for PlacedImage
Source§impl PartialEq for PlacedImage
impl PartialEq for PlacedImage
impl StructuralPartialEq for PlacedImage
Auto Trait Implementations§
impl Freeze for PlacedImage
impl RefUnwindSafe for PlacedImage
impl Send for PlacedImage
impl Sync for PlacedImage
impl Unpin for PlacedImage
impl UnsafeUnpin for PlacedImage
impl UnwindSafe for PlacedImage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more