pub struct ListDefBuilder { /* private fields */ }Expand description
Builder for ListDef
Implementations§
Source§impl ListDefBuilder
impl ListDefBuilder
Sourcepub const fn new() -> ListDefBuilder
pub const fn new() -> ListDefBuilder
Creates a new ListDefBuilder
Sourcepub const fn vtable(self, vtable: &'static ListVTable) -> ListDefBuilder
pub const fn vtable(self, vtable: &'static ListVTable) -> ListDefBuilder
Sets the vtable for the ListDef
Sourcepub const fn t(self, t: fn() -> &'static Shape) -> ListDefBuilder
pub const fn t(self, t: fn() -> &'static Shape) -> ListDefBuilder
Sets the item shape for the ListDef
Auto Trait Implementations§
impl Freeze for ListDefBuilder
impl RefUnwindSafe for ListDefBuilder
impl Send for ListDefBuilder
impl Sync for ListDefBuilder
impl Unpin for ListDefBuilder
impl UnwindSafe for ListDefBuilder
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