pub enum MoonValueKind<'selflf> {
Null,
Boolean,
Integer,
Decimal,
String,
Array,
Function,
Invalid,
CustomStr(&'selflf str, Privatize),
CustomString(String, Privatize),
}
Expand description
Types of Moon values
Variants§
Null
Boolean
Integer
Decimal
String
Array
Function
Invalid
CustomStr(&'selflf str, Privatize)
CustomString(String, Privatize)
Trait Implementations§
Source§impl<'typename> From<&'typename str> for MoonValueKind<'typename>
impl<'typename> From<&'typename str> for MoonValueKind<'typename>
Auto Trait Implementations§
impl<'selflf> Freeze for MoonValueKind<'selflf>
impl<'selflf> RefUnwindSafe for MoonValueKind<'selflf>
impl<'selflf> Send for MoonValueKind<'selflf>
impl<'selflf> Sync for MoonValueKind<'selflf>
impl<'selflf> Unpin for MoonValueKind<'selflf>
impl<'selflf> UnwindSafe for MoonValueKind<'selflf>
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