pub struct PreprocessedImage {
pub tensor: Vec<Vec<Vec<f32>>>,
pub original_size: (u32, u32),
}Expand description
Preprocessed image tensor
Fields§
§tensor: Vec<Vec<Vec<f32>>>§original_size: (u32, u32)Trait Implementations§
Source§impl Clone for PreprocessedImage
impl Clone for PreprocessedImage
Source§fn clone(&self) -> PreprocessedImage
fn clone(&self) -> PreprocessedImage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PreprocessedImage
impl RefUnwindSafe for PreprocessedImage
impl Send for PreprocessedImage
impl Sync for PreprocessedImage
impl Unpin for PreprocessedImage
impl UnwindSafe for PreprocessedImage
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