pub enum Violation {
NotOwned {
data: Data,
owner: String,
change: Change,
},
NotARepair {
data: Data,
},
BadRemap,
}Expand description
A change the editor may not make.
Variants§
NotOwned
The editor changed data that another program owns.
NotARepair
A mesh repair changed something other than the meshes that leaves show and the thumbnail.
BadRemap
The remap does not fit the files: its lists are not as long as the original’s nodes and meshes, or it names an index the edited file does not have, or it sends two nodes or two meshes to the same index.
Trait Implementations§
impl Eq for Violation
impl StructuralPartialEq for Violation
Auto Trait Implementations§
impl Forget for Violation
impl Freeze for Violation
impl Move for Violation
impl RefUnwindSafe for Violation
impl Send for Violationwhere
RawVecInner: Send,
impl Sync for Violationwhere
RawVecInner: Sync,
impl Unpin for Violation
impl UnsafeUnpin for Violation
impl UnwindSafe for Violationwhere
RawVecInner: UnwindSafe,
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