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