pub struct TypeBuilder<F: Form = MetaForm, S = PathNotAssigned> { /* private fields */ }
Expand description
Builds a Type
Implementations§
source§impl<F: Form> TypeBuilder<F, PathNotAssigned>
impl<F: Form> TypeBuilder<F, PathNotAssigned>
sourcepub fn path(self, path: Path<F>) -> TypeBuilder<F, PathAssigned>
pub fn path(self, path: Path<F>) -> TypeBuilder<F, PathAssigned>
Set the Path for the type
source§impl<F: Form> TypeBuilder<F, PathAssigned>
impl<F: Form> TypeBuilder<F, PathAssigned>
source§impl<F: Form, S> TypeBuilder<F, S>
impl<F: Form, S> TypeBuilder<F, S>
sourcepub fn type_params<I>(self, type_params: I) -> Selfwhere
I: IntoIterator<Item = TypeParameter<F>>,
pub fn type_params<I>(self, type_params: I) -> Selfwhere
I: IntoIterator<Item = TypeParameter<F>>,
Set the type parameters if it’s a generic type
source§impl<S> TypeBuilder<MetaForm, S>
impl<S> TypeBuilder<MetaForm, S>
Trait Implementations§
Auto Trait Implementations§
impl<F, S> Freeze for TypeBuilder<F, S>
impl<F, S> RefUnwindSafe for TypeBuilder<F, S>
impl<F, S> Send for TypeBuilder<F, S>
impl<F, S> Sync for TypeBuilder<F, S>
impl<F, S> Unpin for TypeBuilder<F, S>
impl<F, S> UnwindSafe for TypeBuilder<F, S>
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