pub struct TypeBuilder<'m> {
pub align: Option<usize>,
/* private fields */
}
Fields§
§align: Option<usize>
Implementations§
Source§impl<'m> TypeBuilder<'m>
impl<'m> TypeBuilder<'m>
pub fn add_subtype<T: Into<Type<'m>>>(&mut self, ty: T)
pub fn add_subtype_array<T: Into<Type<'m>>>(&mut self, ty: T, count: usize)
Trait Implementations§
Auto Trait Implementations§
impl<'m> Freeze for TypeBuilder<'m>
impl<'m> RefUnwindSafe for TypeBuilder<'m>
impl<'m> Send for TypeBuilder<'m>
impl<'m> Sync for TypeBuilder<'m>
impl<'m> Unpin for TypeBuilder<'m>
impl<'m> UnwindSafe for TypeBuilder<'m>
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