pub struct EmptySlice2DBuilder {}Expand description
A builder object to create a slice. This exists to make forgetting to specify rows and columns a compilation error rather than a runtime one.
Implementations§
Source§impl EmptySlice2DBuilder
impl EmptySlice2DBuilder
Sourcepub fn rows(self, rows: Slice) -> RowSlice2DBuilder
pub fn rows(self, rows: Slice) -> RowSlice2DBuilder
Constructs a new builder object with the rows defined first.
Sourcepub fn columns(self, columns: Slice) -> ColumnSlice2DBuilder
pub fn columns(self, columns: Slice) -> ColumnSlice2DBuilder
Constructs a new builder object with the columns defined first.
Auto Trait Implementations§
impl Freeze for EmptySlice2DBuilder
impl RefUnwindSafe for EmptySlice2DBuilder
impl Send for EmptySlice2DBuilder
impl Sync for EmptySlice2DBuilder
impl Unpin for EmptySlice2DBuilder
impl UnwindSafe for EmptySlice2DBuilder
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