Enum carton::info::TensorOrMisc
source · pub enum TensorOrMisc<T>where
T: TensorStorage,{
Tensor(PossiblyLoaded<Tensor<T>>),
Misc(ArcMiscFileLoader),
}
Variants§
Tensor(PossiblyLoaded<Tensor<T>>)
Misc(ArcMiscFileLoader)
Trait Implementations§
source§impl<T: TensorStorage> Clone for TensorOrMisc<T>
impl<T: TensorStorage> Clone for TensorOrMisc<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for TensorOrMisc<T>
impl<T> Send for TensorOrMisc<T>
impl<T> Sync for TensorOrMisc<T>
impl<T> Unpin for TensorOrMisc<T>
impl<T> !UnwindSafe for TensorOrMisc<T>
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