pub struct Shadow {
pub id: NodeId,
pub params: ShadowParamsDelegate,
pub source: PortRef,
}Expand description
Composites a blurred alpha shadow behind a raster.
Fields§
§id: NodeId§params: ShadowParamsDelegate§source: PortRefTrait Implementations§
Source§impl GpuCompileNode for Shadow
impl GpuCompileNode for Shadow
fn compile_gpu( &self, ctx: &mut CompileContext<'_>, port: &PortRef, ) -> Result<CompiledOutput, LumenError>
Source§impl Node for Shadow
impl Node for Shadow
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 Shadow
impl PropertyEval for Shadow
fn get_property( &self, id: &str, ) -> Result<Option<PropertyExpression>, LumenError>
Auto Trait Implementations§
impl Freeze for Shadow
impl RefUnwindSafe for Shadow
impl Send for Shadow
impl Sync for Shadow
impl Unpin for Shadow
impl UnsafeUnpin for Shadow
impl UnwindSafe for Shadow
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