pub struct EmbeddedModelEdits<'a> {
pub renamed_pair: Option<KeptEmbeddedModel<'a>>,
pub remove_model_indices: &'a [usize],
pub remove_embedded_file_indices: &'a [usize],
}Expand description
Exact edit scope, including intentionally dropped unsupported models. Nothing is removed by type, format, filename or URI-prefix inference. All indices refer to the original Source before any edits are applied.
Fields§
§renamed_pair: Option<KeptEmbeddedModel<'a>>§remove_model_indices: &'a [usize]§remove_embedded_file_indices: &'a [usize]Trait Implementations§
Source§impl<'a> Clone for EmbeddedModelEdits<'a>
impl<'a> Clone for EmbeddedModelEdits<'a>
Source§fn clone(&self) -> EmbeddedModelEdits<'a>
fn clone(&self) -> EmbeddedModelEdits<'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 moreSource§impl<'a> Debug for EmbeddedModelEdits<'a>
impl<'a> Debug for EmbeddedModelEdits<'a>
Source§impl<'a> Default for EmbeddedModelEdits<'a>
impl<'a> Default for EmbeddedModelEdits<'a>
Source§fn default() -> EmbeddedModelEdits<'a>
fn default() -> EmbeddedModelEdits<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for EmbeddedModelEdits<'a>
impl<'a> RefUnwindSafe for EmbeddedModelEdits<'a>
impl<'a> Send for EmbeddedModelEdits<'a>
impl<'a> Sync for EmbeddedModelEdits<'a>
impl<'a> Unpin for EmbeddedModelEdits<'a>
impl<'a> UnsafeUnpin for EmbeddedModelEdits<'a>
impl<'a> UnwindSafe for EmbeddedModelEdits<'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