Struct netsblox_vm::runtime::ConversionError  
source · pub struct ConversionError<C: CustomTypes<S>, S: System<C>> {
    pub got: Type<C, S>,
    pub expected: Type<C, S>,
}Expand description
A type conversion error on a Value.
Fields§
§got: Type<C, S>§expected: Type<C, S>Trait Implementations§
source§impl<C: CustomTypes<S>, S: System<C>> Debug for ConversionError<C, S>
 
impl<C: CustomTypes<S>, S: System<C>> Debug for ConversionError<C, S>
source§impl<C: CustomTypes<S>, S: System<C>> From<ConversionError<C, S>> for ErrorCause<C, S>
 
impl<C: CustomTypes<S>, S: System<C>> From<ConversionError<C, S>> for ErrorCause<C, S>
source§fn from(e: ConversionError<C, S>) -> Self
 
fn from(e: ConversionError<C, S>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<C, S> RefUnwindSafe for ConversionError<C, S>
impl<C, S> Send for ConversionError<C, S>
impl<C, S> Sync for ConversionError<C, S>
impl<C, S> Unpin for ConversionError<C, S>
impl<C, S> UnwindSafe for ConversionError<C, S>
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