Enum livemod::Parameter[][src]

pub enum Parameter<T> {
    SignedInt(i64),
    UnsignedInt(u64),
    Float(f64),
    Bool(bool),
    String(String),
    Namespaced(Namespaced<T>),
}
Expand description

A value in the LiveMod message transfer system

Variants

SignedInt(i64)

Tuple Fields of SignedInt

0: i64
UnsignedInt(u64)

Tuple Fields of UnsignedInt

0: u64
Float(f64)

Tuple Fields of Float

0: f64
Bool(bool)

Tuple Fields of Bool

0: bool
String(String)

Tuple Fields of String

0: String
Namespaced(Namespaced<T>)

Tuple Fields of Namespaced

0: Namespaced<T>

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.