Struct darklua_core::rules::InjectGlobalValue
source · pub struct InjectGlobalValue { /* private fields */ }Expand description
A rule to replace global variables with values.
Implementations§
Trait Implementations§
source§impl Debug for InjectGlobalValue
impl Debug for InjectGlobalValue
source§impl Default for InjectGlobalValue
impl Default for InjectGlobalValue
source§impl FlawlessRule for InjectGlobalValue
impl FlawlessRule for InjectGlobalValue
fn flawless_process(&self, block: &mut Block, _: &mut Context<'_>)
source§impl PartialEq<InjectGlobalValue> for InjectGlobalValue
impl PartialEq<InjectGlobalValue> for InjectGlobalValue
source§fn eq(&self, other: &InjectGlobalValue) -> bool
fn eq(&self, other: &InjectGlobalValue) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RuleConfiguration for InjectGlobalValue
impl RuleConfiguration for InjectGlobalValue
source§fn configure(
&mut self,
properties: RuleProperties
) -> Result<(), RuleConfigurationError>
fn configure( &mut self, properties: RuleProperties ) -> Result<(), RuleConfigurationError>
The rule deserializer will construct the default rule and then send the properties through
this method to modify the behavior of the rule.
source§fn serialize_to_properties(&self) -> RuleProperties
fn serialize_to_properties(&self) -> RuleProperties
For implementing the serialize trait on the Rule trait, this method should return all
properties that differs from their default value.
source§fn has_properties(&self) -> bool
fn has_properties(&self) -> bool
Returns
true if the rule has at least one property.impl Eq for InjectGlobalValue
impl StructuralEq for InjectGlobalValue
impl StructuralPartialEq for InjectGlobalValue
Auto Trait Implementations§
impl RefUnwindSafe for InjectGlobalValue
impl Send for InjectGlobalValue
impl Sync for InjectGlobalValue
impl Unpin for InjectGlobalValue
impl UnwindSafe for InjectGlobalValue
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