Struct darklua_core::rules::InjectGlobalValue
source · [−]pub struct InjectGlobalValue { /* private fields */ }Expand description
A rule to replace global variables with values.
Implementations
Trait Implementations
sourceimpl Debug for InjectGlobalValue
impl Debug for InjectGlobalValue
sourceimpl Default for InjectGlobalValue
impl Default for InjectGlobalValue
sourceimpl FlawlessRule for InjectGlobalValue
impl FlawlessRule for InjectGlobalValue
fn flawless_process(&self, block: &mut Block, _: &mut Context)
sourceimpl PartialEq<InjectGlobalValue> for InjectGlobalValue
impl PartialEq<InjectGlobalValue> for InjectGlobalValue
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &InjectGlobalValue) -> bool
fn ne(&self, other: &InjectGlobalValue) -> bool
This method tests for !=.
sourceimpl RuleConfiguration for InjectGlobalValue
impl RuleConfiguration for InjectGlobalValue
sourcefn 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. Read more
sourcefn 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. Read more
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more