[−][src]Struct arrow::ipc::gen::Tensor::TensorBuilder
Methods
impl<'a: 'b, 'b> TensorBuilder<'a, 'b>
[src]
pub fn add_type_type(&mut self, type_type: Type)
[src]
pub fn add_type_(&mut self, type_: WIPOffset<UnionWIPOffset>)
[src]
pub fn add_shape(
&mut self,
shape: WIPOffset<Vector<'b, ForwardsUOffset<TensorDim<'b>>>>
)
[src]
&mut self,
shape: WIPOffset<Vector<'b, ForwardsUOffset<TensorDim<'b>>>>
)
pub fn add_strides(&mut self, strides: WIPOffset<Vector<'b, i64>>)
[src]
pub fn add_data(&mut self, data: &'b Buffer)
[src]
pub fn new(_fbb: &'b mut FlatBufferBuilder<'a>) -> TensorBuilder<'a, 'b>
[src]
pub fn finish(self) -> WIPOffset<Tensor<'a>>
[src]
Auto Trait Implementations
impl<'a, 'b> RefUnwindSafe for TensorBuilder<'a, 'b>
impl<'a, 'b> Send for TensorBuilder<'a, 'b>
impl<'a, 'b> Sync for TensorBuilder<'a, 'b>
impl<'a, 'b> Unpin for TensorBuilder<'a, 'b> where
'a: 'b,
'a: 'b,
impl<'a, 'b> !UnwindSafe for TensorBuilder<'a, 'b>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> Cast<U> for T where
U: FromCast<T>,
[src]
U: FromCast<T>,
impl<T> From<T> for T
[src]
impl<T> FromCast<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,