[−][src]Struct darklua_core::rules::InjectGlobalValue
A rule to replace global variables with values.
Implementations
impl InjectGlobalValue
[src]
pub fn nil<S: Into<String>>(identifier: S) -> Self
[src]
pub fn boolean<S: Into<String>>(identifier: S, value: bool) -> Self
[src]
pub fn string<S: Into<String>>(identifier: S, value: S) -> Self
[src]
pub fn float<S: Into<String>>(identifier: S, value: f64) -> Self
[src]
Trait Implementations
impl Debug for InjectGlobalValue
[src]
impl Default for InjectGlobalValue
[src]
impl Eq for InjectGlobalValue
[src]
impl PartialEq<InjectGlobalValue> for InjectGlobalValue
[src]
fn eq(&self, other: &InjectGlobalValue) -> bool
[src]
fn ne(&self, other: &InjectGlobalValue) -> bool
[src]
impl Rule for InjectGlobalValue
[src]
fn process(&self, block: &mut Block)
[src]
fn configure(
&mut self,
properties: RuleProperties
) -> Result<(), RuleConfigurationError>
[src]
&mut self,
properties: RuleProperties
) -> Result<(), RuleConfigurationError>
fn get_name(&self) -> &'static str
[src]
fn serialize_to_properties(&self) -> RuleProperties
[src]
impl StructuralEq for InjectGlobalValue
[src]
impl StructuralPartialEq for InjectGlobalValue
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,