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