pub struct SafeTensors { /* private fields */ }Expand description
A memory-mapped .safetensors file, ready to be deserialized without loading its full
contents into memory up front.
Implementations§
Source§impl SafeTensors
impl SafeTensors
Auto Trait Implementations§
impl Freeze for SafeTensors
impl RefUnwindSafe for SafeTensors
impl Send for SafeTensors
impl Sync for SafeTensors
impl Unpin for SafeTensors
impl UnsafeUnpin for SafeTensors
impl UnwindSafe for SafeTensors
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