Fields
name: String
entities: Vec<Entity>
types: Vec<TypeDecl>
Implementations
sourceimpl Schema
impl Schema
pub fn to_token_stream(&self, prefix: CratePrefix) -> TokenStream
Trait Implementations
sourceimpl Legalize for Schema
impl Legalize for Schema
fn legalize(
ns: &Namespace<'_>,
ss: &Constraints,
scope: &Scope,
schema: &Self::Input
) -> Result<Self, SemanticError>
impl Eq for Schema
impl StructuralEq for Schema
impl StructuralPartialEq for Schema
Auto Trait Implementations
impl RefUnwindSafe for Schema
impl Send for Schema
impl Sync for Schema
impl Unpin for Schema
impl UnwindSafe for Schema
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more