pub enum Value {
F32(f32),
F64(f64),
Str(Vec<u8>),
I32(i32),
I16(i16),
I8(i8),
I64(i64),
}Expand description
One channel value.
Variants§
F32(f32)
A 32-bit float.
F64(f64)
A 64-bit float.
Str(Vec<u8>)
A byte string. LSL does not require valid UTF-8.
I32(i32)
A 32-bit signed integer.
I16(i16)
A 16-bit signed integer.
I8(i8)
An 8-bit signed integer.
I64(i64)
A 64-bit signed integer.
Trait Implementations§
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnsafeUnpin 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