pub struct MemoParamsDelegate {
pub cache_id: <String as Delegated>::Delegate,
pub allow_expressions: <bool as Delegated>::Delegate,
}Fields§
§cache_id: <String as Delegated>::Delegate§allow_expressions: <bool as Delegated>::DelegateTrait Implementations§
Source§impl Clone for MemoParamsDelegate
impl Clone for MemoParamsDelegate
Source§impl Debug for MemoParamsDelegate
impl Debug for MemoParamsDelegate
Source§impl Default for MemoParamsDelegate
impl Default for MemoParamsDelegate
Source§impl DelegateEvaluable for MemoParamsDelegate
impl DelegateEvaluable for MemoParamsDelegate
type Evaluated = MemoParams
fn eval( &self, ctx: &DelegateEvalContext<'_>, ) -> Result<Self::Evaluated, LumenError>
Source§impl NodeParams for MemoParamsDelegate
impl NodeParams for MemoParamsDelegate
type Evaluated = MemoParams
fn property_defs() -> Vec<PropertyDef>
fn is_property(id: &str) -> bool
fn default_properties(&self) -> Vec<(&'static str, PropertyValue)>
fn get_property(&self, id: &str) -> Option<PropertyExpression>
fn eval( &self, ctx: &NodeParamEvalContext<'_>, ) -> Result<Self::Evaluated, LumenError>
Auto Trait Implementations§
impl Freeze for MemoParamsDelegate
impl RefUnwindSafe for MemoParamsDelegate
impl Send for MemoParamsDelegate
impl Sync for MemoParamsDelegate
impl Unpin for MemoParamsDelegate
impl UnsafeUnpin for MemoParamsDelegate
impl UnwindSafe for MemoParamsDelegate
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