pub struct FileComposite {
pub name: String,
pub head: TensorDescriptor,
pub members: Vec<FileItem>,
}Expand description
A composite tensor read from a file: its head plus its ordered members.
Membership was recovered from the head’s member_count and file-offset adjacency, then
validated with [CompositeValidator] (member count, partition coverage, overlay
ordering). Members are ordered as written; each may itself be a composite (nesting).
Fields§
§name: StringThe head’s name, as recorded in the file index.
head: TensorDescriptorThe composite head descriptor (owns no data buffers).
members: Vec<FileItem>The members, in write order. Each may itself be a composite.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileComposite
impl RefUnwindSafe for FileComposite
impl Send for FileComposite
impl Sync for FileComposite
impl Unpin for FileComposite
impl UnsafeUnpin for FileComposite
impl UnwindSafe for FileComposite
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