Enum pax_pixels::render_context::Fill
source · pub enum Fill {
Solid(Color),
Gradient {
gradient_type: GradientType,
pos: [f32; 2],
main_axis: [f32; 2],
off_axis: [f32; 2],
stops: Vec<GradientStop>,
},
}Variants§
Auto Trait Implementations§
impl RefUnwindSafe for Fill
impl Send for Fill
impl Sync for Fill
impl Unpin for Fill
impl UnwindSafe for Fill
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