pub struct RustType {
pub schema: PropsSchema,
pub strings: Vec<String>,
pub root: PropType,
pub source: PropsSource,
}Expand description
Rust’s derived schema uses the same closed type representation as parsed FMIR.
Fields§
§schema: PropsSchemaThe actual FMIR object/field/type representation, with Rust source positions.
strings: Vec<String>Names, enum literals and source files referenced by that schema.
root: PropTypeRoot kind; a page binding requires an object.
source: PropsSourceRoot Rust declaration, useful when a TypeScript field is missing in Rust.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RustType
impl RefUnwindSafe for RustType
impl Send for RustType
impl Sync for RustType
impl Unpin for RustType
impl UnsafeUnpin for RustType
impl UnwindSafe for RustType
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