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