Enum assembly_core::ldf::Value
source · pub enum Value {
String(String),
I32(i32),
F32(f32),
U32(u32),
Bool(bool),
Bytes(String),
}
Expand description
A LEGO-Data-Format value
Variants§
String(String)
A user-facing string
I32(i32)
A signed 32bit integer
F32(f32)
A single precision floating point number
U32(u32)
An unsigned 32bit interger
Bool(bool)
A boolean (0 or 1)
Bytes(String)
An internal string
Trait Implementations§
source§impl PartialEq<Value> for Value
impl PartialEq<Value> for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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