#[non_exhaustive]pub struct GuardViolation {
pub world: String,
pub band: &'static str,
pub bytes: usize,
}Expand description
Strict mode (PluginInstance::set_strict).
Strict mode (PluginInstance::set_strict).
Strict mode (PluginInstance::set_strict).
A guard band around a host world was overwritten.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.world: StringWhat the world was ("PF_NewWorld 64x48", "output", …).
band: &'static strWhere: "above", "below" or "row tail".
bytes: usizeBytes found changed.
Trait Implementations§
Source§impl Clone for GuardViolation
impl Clone for GuardViolation
Source§impl Debug for GuardViolation
impl Debug for GuardViolation
impl Eq for GuardViolation
Source§impl PartialEq for GuardViolation
impl PartialEq for GuardViolation
impl StructuralPartialEq for GuardViolation
Auto Trait Implementations§
impl Forget for GuardViolation
impl Freeze for GuardViolation
impl Move for GuardViolation
impl RefUnwindSafe for GuardViolation
impl Send for GuardViolation
impl Sync for GuardViolation
impl Unpin for GuardViolation
impl UnsafeUnpin for GuardViolation
impl UnwindSafe for GuardViolation
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