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