pub enum RsType {
}Expand description
ReScript type representation
Variants§
String
Int
Float
Bool
Unit
DateTime
Date
Option(Box<RsType>)
Array(Box<RsType>)
Dict(Box<RsType>)
Json
Named(String)
Tuple(Vec<RsType>)
StringEnum(Vec<String>)
Inline string enum (polymorphic variant)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RsType
impl RefUnwindSafe for RsType
impl Send for RsType
impl Sync for RsType
impl Unpin for RsType
impl UnsafeUnpin for RsType
impl UnwindSafe for RsType
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