pub struct Value(/* private fields */);
Trait Implementations§
Source§impl ValueInterface for Value
impl ValueInterface for Value
fn from_bytes(dt: DatumType, shape: &[usize], data: &[u8]) -> Result<Self>
fn as_bytes(&self) -> Result<(DatumType, &[usize], &[u8])>
fn from_slice<T>(shape: &[usize], data: &[T]) -> Result<Self, Error>where
T: Datum,
fn as_slice<T>(&self) -> Result<(&[usize], &[T]), Error>where
T: Datum,
fn view<T>(&self) -> Result<ArrayBase<ViewRepr<&T>, Dim<IxDynImpl>>, Error>where
T: Datum,
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl !Send for Value
impl !Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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