pub struct PaintImage {
pub x: f32,
pub y: f32,
pub width: f32,
pub height: f32,
pub content: ImageContent,
}Expand description
An image scaled to fill its laid-out box.
Fields§
§x: f32§y: f32§width: f32§height: f32§content: ImageContentTrait Implementations§
Source§impl Clone for PaintImage
impl Clone for PaintImage
Source§fn clone(&self) -> PaintImage
fn clone(&self) -> PaintImage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PaintImage
impl RefUnwindSafe for PaintImage
impl Send for PaintImage
impl Sync for PaintImage
impl Unpin for PaintImage
impl UnsafeUnpin for PaintImage
impl UnwindSafe for PaintImage
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