pub enum Image {
Raster {
handle: Handle,
filter_method: FilterMethod,
bounds: Rectangle,
},
Vector {
handle: Handle,
color: Option<Color>,
bounds: Rectangle,
},
}
Expand description
A raster or vector image.
Variants§
Raster
Fields
§
handle: Handle
The handle of a raster image.
§
filter_method: FilterMethod
The filter method of a raster image.
§
bounds: Rectangle
The bounds of the image.
A raster image.
Vector
A vector image.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl !UnwindSafe for Image
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