pub struct StructBuilder { /* private fields */ }Expand description
Builder for StructDef
Implementations§
Source§impl StructBuilder
impl StructBuilder
Sourcepub const fn kind(self, kind: StructKind) -> Self
pub const fn kind(self, kind: StructKind) -> Self
Sets the kind for the StructDef
Auto Trait Implementations§
impl Freeze for StructBuilder
impl RefUnwindSafe for StructBuilder
impl Send for StructBuilder
impl Sync for StructBuilder
impl Unpin for StructBuilder
impl UnwindSafe for StructBuilder
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