Struct screeps::memory::UnexpectedTypeError
source · pub struct UnexpectedTypeError;
Trait Implementations
sourceimpl Clone for UnexpectedTypeError
impl Clone for UnexpectedTypeError
sourcefn clone(&self) -> UnexpectedTypeError
fn clone(&self) -> UnexpectedTypeError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for UnexpectedTypeError
impl Debug for UnexpectedTypeError
Auto Trait Implementations
impl RefUnwindSafe for UnexpectedTypeError
impl Send for UnexpectedTypeError
impl Sync for UnexpectedTypeError
impl Unpin for UnexpectedTypeError
impl UnwindSafe for UnexpectedTypeError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T, U> IntoExpectedType<U> for Twhere
U: FromExpectedType<T>,
impl<T, U> IntoExpectedType<U> for Twhere
U: FromExpectedType<T>,
sourcefn into_expected_type(self) -> Result<U, ConversionError>
fn into_expected_type(self) -> Result<U, ConversionError>
Casts this value as the target type, making the assumption that the types are correct. Read more