pub struct Shape {
pub id: NodeId,
pub params: ShapeParamsDelegate,
}Expand description
Produces a vector shape layer for GPU rasterization.
Fields§
§id: NodeId§params: ShapeParamsDelegateTrait Implementations§
Source§impl GpuCompileNode for Shape
impl GpuCompileNode for Shape
fn compile_gpu( &self, ctx: &mut CompileContext<'_>, port: &PortRef, ) -> Result<CompiledOutput, LumenError>
Source§impl Node for Shape
impl Node for Shape
fn id(&self) -> NodeId
fn input_port_defs(&self) -> &'static [InputPortDef]
fn input_ports(&self) -> Vec<PortRef>
fn output_port_defs(&self) -> &'static [OutputPortDef]
Source§impl PropertyEval for Shape
impl PropertyEval for Shape
fn get_property( &self, id: &str, ) -> Result<Option<PropertyExpression>, LumenError>
Auto Trait Implementations§
impl Freeze for Shape
impl RefUnwindSafe for Shape
impl Send for Shape
impl Sync for Shape
impl Unpin for Shape
impl UnsafeUnpin for Shape
impl UnwindSafe for Shape
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