pub struct Pipeline {
pub bounds: Rectangle,
pub viewport: Rectangle,
pub primitive: Arc<dyn Primitive>,
}
Expand description
A custom primitive which can be used to render primitives associated with a custom pipeline.
Fields§
§bounds: Rectangle
The bounds of the Pipeline
.
viewport: Rectangle
The viewport of the Pipeline
.
primitive: Arc<dyn Primitive>
The Primitive
to render.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Pipeline
impl Send for Pipeline
impl Sync for Pipeline
impl Unpin for Pipeline
impl !UnwindSafe for Pipeline
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