Struct DefaultTypes
pub struct DefaultTypes<'db> {Show 24 fields
pub usize: Ty<'db>,
pub u8: Ty<'db>,
pub u16: Ty<'db>,
pub u32: Ty<'db>,
pub u64: Ty<'db>,
pub u128: Ty<'db>,
pub isize: Ty<'db>,
pub i8: Ty<'db>,
pub i16: Ty<'db>,
pub i32: Ty<'db>,
pub i64: Ty<'db>,
pub i128: Ty<'db>,
pub f16: Ty<'db>,
pub f32: Ty<'db>,
pub f64: Ty<'db>,
pub f128: Ty<'db>,
pub unit: Ty<'db>,
pub bool: Ty<'db>,
pub char: Ty<'db>,
pub str: Ty<'db>,
pub never: Ty<'db>,
pub error: Ty<'db>,
pub static_str_ref: Ty<'db>,
pub mut_unit_ptr: Ty<'db>,
}Fields§
§usize: Ty<'db>§u8: Ty<'db>§u16: Ty<'db>§u32: Ty<'db>§u64: Ty<'db>§u128: Ty<'db>§isize: Ty<'db>§i8: Ty<'db>§i16: Ty<'db>§i32: Ty<'db>§i64: Ty<'db>§i128: Ty<'db>§f16: Ty<'db>§f32: Ty<'db>§f64: Ty<'db>§f128: Ty<'db>§unit: Ty<'db>§bool: Ty<'db>§char: Ty<'db>§str: Ty<'db>§never: Ty<'db>§error: Ty<'db>§static_str_ref: Ty<'db>&'static str
mut_unit_ptr: Ty<'db>*mut ()
Auto Trait Implementations§
impl<'db> Freeze for DefaultTypes<'db>
impl<'db> RefUnwindSafe for DefaultTypes<'db>
impl<'db> Send for DefaultTypes<'db>
impl<'db> Sync for DefaultTypes<'db>
impl<'db> Unpin for DefaultTypes<'db>
impl<'db> UnwindSafe for DefaultTypes<'db>
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
§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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