Struct datafusion_python::datafusion_common::arrow::ipc::TensorDim
source · pub struct TensorDim<'a> {
pub _tab: Table<'a>,
}Expand description
Data structures for dense tensors Shape data for a single axis in a tensor
Fields§
§_tab: Table<'a>Implementations§
source§impl<'a> TensorDim<'a>
impl<'a> TensorDim<'a>
pub const VT_SIZE_: u16 = 4u16
pub const VT_NAME: u16 = 6u16
pub unsafe fn init_from_table(table: Table<'a>) -> TensorDim<'a>
pub fn create<'bldr, 'args, 'mut_bldr>(
_fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>,
args: &'args TensorDimArgs<'args>,
) -> WIPOffset<TensorDim<'bldr>>where
'bldr: 'args,
'args: 'mut_bldr,
Trait Implementations§
source§impl Verifiable for TensorDim<'_>
impl Verifiable for TensorDim<'_>
source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos in the verifier’s buffer.
Should not need to be called directly.impl<'a> Copy for TensorDim<'a>
impl<'a> StructuralPartialEq for TensorDim<'a>
Auto Trait Implementations§
impl<'a> Freeze for TensorDim<'a>
impl<'a> RefUnwindSafe for TensorDim<'a>
impl<'a> Send for TensorDim<'a>
impl<'a> Sync for TensorDim<'a>
impl<'a> Unpin for TensorDim<'a>
impl<'a> UnwindSafe for TensorDim<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more