Struct tiny_skia::pipeline::RasterPipelineBuilder
source · pub struct RasterPipelineBuilder {
stages: ArrayVec<Stage, MAX_STAGES>,
force_hq_pipeline: bool,
pub ctx: Context,
}
Fields§
§stages: ArrayVec<Stage, MAX_STAGES>
§force_hq_pipeline: bool
§ctx: Context
Implementations§
source§impl RasterPipelineBuilder
impl RasterPipelineBuilder
pub fn new() -> Self
pub fn set_force_hq_pipeline(&mut self, hq: bool)
pub fn push(&mut self, stage: Stage)
pub fn push_transform(&mut self, ts: Transform)
pub fn push_uniform_color(&mut self, c: PremultipliedColor)
pub fn compile(self) -> RasterPipeline
Auto Trait Implementations§
impl Freeze for RasterPipelineBuilder
impl RefUnwindSafe for RasterPipelineBuilder
impl Send for RasterPipelineBuilder
impl Sync for RasterPipelineBuilder
impl Unpin for RasterPipelineBuilder
impl UnwindSafe for RasterPipelineBuilder
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