Enum femtovg::renderer::CommandType
source · [−]pub enum CommandType {
SetRenderTarget(RenderTarget),
ClearRect {
x: u32,
y: u32,
width: u32,
height: u32,
color: Color,
},
ConvexFill {
params: Params,
},
ConcaveFill {
stencil_params: Params,
fill_params: Params,
},
Stroke {
params: Params,
},
StencilStroke {
params1: Params,
params2: Params,
},
Triangles {
params: Params,
},
RenderFilteredImage {
target_image: ImageId,
filter: ImageFilter,
},
}
Variants
SetRenderTarget(RenderTarget)
ClearRect
ConvexFill
ConcaveFill
Stroke
StencilStroke
Triangles
RenderFilteredImage
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CommandType
impl Send for CommandType
impl Sync for CommandType
impl Unpin for CommandType
impl UnwindSafe for CommandType
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