pub struct AmbiguousTypeError {
pub ambiguous_expr_source_span: SourceSpan,
pub ambiguous_types: Vec<String>,
pub additional_error_details: Vec<String>,
}Fields§
§ambiguous_expr_source_span: SourceSpan§ambiguous_types: Vec<String>§additional_error_details: Vec<String>Implementations§
Source§impl AmbiguousTypeError
impl AmbiguousTypeError
pub fn new( inferred_expr: &InferredType, source_span: &SourceSpan, expected: &TypeHint, ) -> AmbiguousTypeError
pub fn with_additional_error_detail(&self, detail: &str) -> AmbiguousTypeError
Trait Implementations§
Source§impl Clone for AmbiguousTypeError
impl Clone for AmbiguousTypeError
Source§fn clone(&self) -> AmbiguousTypeError
fn clone(&self) -> AmbiguousTypeError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AmbiguousTypeError
impl RefUnwindSafe for AmbiguousTypeError
impl Send for AmbiguousTypeError
impl Sync for AmbiguousTypeError
impl Unpin for AmbiguousTypeError
impl UnsafeUnpin for AmbiguousTypeError
impl UnwindSafe for AmbiguousTypeError
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