Struct diagnostics::NativeTypeErrorFactory
source · pub struct NativeTypeErrorFactory { /* private fields */ }
Implementations§
source§impl NativeTypeErrorFactory
impl NativeTypeErrorFactory
pub fn new(native_type: String, connector: String) -> Self
pub fn new_scale_larger_than_precision_error(self, span: Span) -> DatamodelError
pub fn new_incompatible_native_type_with_index( self, message: &str, span: Span ) -> DatamodelError
pub fn new_incompatible_native_type_with_unique( self, message: &str, span: Span ) -> DatamodelError
pub fn new_incompatible_native_type_with_id( self, message: &str, span: Span ) -> DatamodelError
pub fn new_argument_m_out_of_range_error( self, message: &str, span: Span ) -> DatamodelError
pub fn native_type_name_unknown(self, span: Span) -> DatamodelError
Auto Trait Implementations§
impl RefUnwindSafe for NativeTypeErrorFactory
impl Send for NativeTypeErrorFactory
impl Sync for NativeTypeErrorFactory
impl Unpin for NativeTypeErrorFactory
impl UnwindSafe for NativeTypeErrorFactory
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