Struct AssetEditError
pub struct AssetEditError {
pub index: usize,
pub path: String,
pub error: AssetError,
}Expand description
The first failed edit. Earlier edits in the transaction were rolled back.
Fields§
§index: usizeZero-based position in the edit iterator.
path: StringOriginal authoring path, before normalization.
error: AssetErrorTrait Implementations§
§impl Clone for AssetEditError
impl Clone for AssetEditError
§fn clone(&self) -> AssetEditError
fn clone(&self) -> AssetEditError
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 more§impl Debug for AssetEditError
impl Debug for AssetEditError
§impl Display for AssetEditError
impl Display for AssetEditError
§impl Error for AssetEditError
impl Error for AssetEditError
§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
§impl PartialEq for AssetEditError
impl PartialEq for AssetEditError
impl Eq for AssetEditError
impl StructuralPartialEq for AssetEditError
Auto Trait Implementations§
impl Freeze for AssetEditError
impl RefUnwindSafe for AssetEditError
impl Send for AssetEditError
impl Sync for AssetEditError
impl Unpin for AssetEditError
impl UnwindSafe for AssetEditError
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