pub struct Memo {
pub id: NodeId,
pub cache_id: NodeProperty,
pub allow_expressions: NodeProperty,
pub source: PortRef,
}Expand description
Aliases a raster input through a stable cache boundary.
Fields§
§id: NodeId§cache_id: NodePropertyStable cache identifier for this memo boundary.
allow_expressions: NodePropertyAllows property expressions to be evaluated across this memo boundary.
source: PortRefTrait Implementations§
Source§impl GpuCompileNode for Memo
impl GpuCompileNode for Memo
fn compile_gpu( &self, ctx: &mut CompileContext<'_>, port: &PortRef, ) -> Result<CompiledOutput, LumenError>
Source§impl GpuFrameBindNode for Memo
impl GpuFrameBindNode for Memo
fn bind_gpu_frame( &self, ctx: &FrameBindContext<'_>, binding: &FrameBinding, _bound: &mut BoundFrame, ) -> Result<(), LumenError>
Source§impl Node for Memo
impl Node for Memo
fn id(&self) -> NodeId
fn input_port_defs(&self) -> &'static [InputPortDef]
fn output_port_defs(&self) -> &'static [OutputPortDef]
Source§impl PropertyEval for Memo
impl PropertyEval for Memo
fn get_property(&self, id: &str) -> Result<Option<NodeProperty>, LumenError>
Auto Trait Implementations§
impl Freeze for Memo
impl RefUnwindSafe for Memo
impl Send for Memo
impl Sync for Memo
impl Unpin for Memo
impl UnsafeUnpin for Memo
impl UnwindSafe for Memo
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