pub struct ShapeBuilder { /* private fields */ }Expand description
Builder for Shape
Implementations§
Source§impl ShapeBuilder
impl ShapeBuilder
Sourcepub const fn id(self, id: ConstTypeId) -> Self
pub const fn id(self, id: ConstTypeId) -> Self
Sets the id field of the ShapeBuilder.
Sourcepub const fn vtable(self, vtable: &'static ValueVTable) -> Self
pub const fn vtable(self, vtable: &'static ValueVTable) -> Self
Sets the vtable field of the ShapeBuilder.
Sourcepub const fn type_params(self, type_params: &'static [TypeParam]) -> Self
pub const fn type_params(self, type_params: &'static [TypeParam]) -> Self
Sets the type_params field of the ShapeBuilder.
Auto Trait Implementations§
impl Freeze for ShapeBuilder
impl RefUnwindSafe for ShapeBuilder
impl Send for ShapeBuilder
impl Sync for ShapeBuilder
impl Unpin for ShapeBuilder
impl UnwindSafe for ShapeBuilder
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