pub enum SLTNodeArenaEditError {
RangeOutOfBounds {
start: usize,
end: usize,
node_count: usize,
},
SiteIdOverflow {
site_id: u32,
offset: u32,
},
StorageUnavailable {
effect_count: usize,
},
EffectCountOverflow,
EditPlanMismatch,
}Expand description
Failure from a narrowly scoped mutation of a construction arena.
Variants§
Trait Implementations§
Source§impl Clone for SLTNodeArenaEditError
impl Clone for SLTNodeArenaEditError
Source§fn clone(&self) -> SLTNodeArenaEditError
fn clone(&self) -> SLTNodeArenaEditError
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 Debug for SLTNodeArenaEditError
impl Debug for SLTNodeArenaEditError
Source§impl Display for SLTNodeArenaEditError
impl Display for SLTNodeArenaEditError
impl Eq for SLTNodeArenaEditError
Source§impl Error for SLTNodeArenaEditError
impl Error for SLTNodeArenaEditError
1.30.0 · Source§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()
Source§impl PartialEq for SLTNodeArenaEditError
impl PartialEq for SLTNodeArenaEditError
impl StructuralPartialEq for SLTNodeArenaEditError
Auto Trait Implementations§
impl Freeze for SLTNodeArenaEditError
impl RefUnwindSafe for SLTNodeArenaEditError
impl Send for SLTNodeArenaEditError
impl Sync for SLTNodeArenaEditError
impl Unpin for SLTNodeArenaEditError
impl UnsafeUnpin for SLTNodeArenaEditError
impl UnwindSafe for SLTNodeArenaEditError
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