pub enum ParticleBoundaryError {
Boundary(BoundaryError),
Attrs(AttrsError),
InvalidAttrShape {
label: &'static str,
expected_dim: usize,
got_dim: usize,
},
InconsistentParticleCount {
label: &'static str,
expected: usize,
got: usize,
},
}Variants§
Trait Implementations§
Source§impl Clone for ParticleBoundaryError
impl Clone for ParticleBoundaryError
Source§fn clone(&self) -> ParticleBoundaryError
fn clone(&self) -> ParticleBoundaryError
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 ParticleBoundaryError
impl Debug for ParticleBoundaryError
Source§impl From<AttrsError> for ParticleBoundaryError
impl From<AttrsError> for ParticleBoundaryError
Source§fn from(value: AttrsError) -> Self
fn from(value: AttrsError) -> Self
Converts to this type from the input type.
Source§impl From<BoundaryError> for ParticleBoundaryError
impl From<BoundaryError> for ParticleBoundaryError
Source§fn from(value: ContinuousBoundaryError) -> Self
fn from(value: ContinuousBoundaryError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParticleBoundaryError
impl PartialEq for ParticleBoundaryError
impl StructuralPartialEq for ParticleBoundaryError
Auto Trait Implementations§
impl Freeze for ParticleBoundaryError
impl RefUnwindSafe for ParticleBoundaryError
impl Send for ParticleBoundaryError
impl Sync for ParticleBoundaryError
impl Unpin for ParticleBoundaryError
impl UnsafeUnpin for ParticleBoundaryError
impl UnwindSafe for ParticleBoundaryError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more