Struct vortex_flatbuffers::scalar::Scalar
source · pub struct Scalar<'a> {
pub _tab: Table<'a>,
}
Fields§
§_tab: Table<'a>
Implementations§
source§impl<'a> Scalar<'a>
impl<'a> Scalar<'a>
pub const VT_DTYPE: VOffsetT = 4u16
pub const VT_VALUE: VOffsetT = 6u16
pub unsafe fn init_from_table(table: Table<'a>) -> Self
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: Allocator + 'bldr>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args ScalarArgs<'args>, ) -> WIPOffset<Scalar<'bldr>>
pub fn dtype(&self) -> DType<'a>
pub fn value(&self) -> ScalarValue<'a>
Trait Implementations§
impl<'a> Copy for Scalar<'a>
impl<'a> StructuralPartialEq for Scalar<'a>
Auto Trait Implementations§
impl<'a> Freeze for Scalar<'a>
impl<'a> RefUnwindSafe for Scalar<'a>
impl<'a> Send for Scalar<'a>
impl<'a> Sync for Scalar<'a>
impl<'a> Unpin for Scalar<'a>
impl<'a> UnwindSafe for Scalar<'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
)