pub struct KeptEmbeddedModel<'a> {
pub model_index: usize,
pub embedded_file_index: usize,
pub original_model_uri: &'a str,
pub original_file_name: &'a str,
pub target_name: &'a str,
}Expand description
Exact positions in FootprintView::models() and embedded_files().
The caller selects the pair after inspecting the actual payload; this
operation verifies both original Source values exactly against the supplied
receipts. The caller owns pairing policy; this is not a file-format proof.
Fields§
§model_index: usize§embedded_file_index: usize§original_model_uri: &'a str§original_file_name: &'a str§target_name: &'a strTrait Implementations§
Source§impl<'a> Clone for KeptEmbeddedModel<'a>
impl<'a> Clone for KeptEmbeddedModel<'a>
Source§fn clone(&self) -> KeptEmbeddedModel<'a>
fn clone(&self) -> KeptEmbeddedModel<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for KeptEmbeddedModel<'a>
Auto Trait Implementations§
impl<'a> Freeze for KeptEmbeddedModel<'a>
impl<'a> RefUnwindSafe for KeptEmbeddedModel<'a>
impl<'a> Send for KeptEmbeddedModel<'a>
impl<'a> Sync for KeptEmbeddedModel<'a>
impl<'a> Unpin for KeptEmbeddedModel<'a>
impl<'a> UnsafeUnpin for KeptEmbeddedModel<'a>
impl<'a> UnwindSafe for KeptEmbeddedModel<'a>
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