Struct MirDbGroupStorage__

Source
pub struct MirDbGroupStorage__ {
Show 16 fields pub mir_intern_const: Arc<<MirInternConstQuery as Query>::Storage>, pub lookup_mir_intern_const: Arc<<MirInternConstLookupQuery as Query>::Storage>, pub mir_intern_type: Arc<<MirInternTypeQuery as Query>::Storage>, pub lookup_mir_intern_type: Arc<<MirInternTypeLookupQuery as Query>::Storage>, pub mir_intern_function: Arc<<MirInternFunctionQuery as Query>::Storage>, pub lookup_mir_intern_function: Arc<<MirInternFunctionLookupQuery as Query>::Storage>, pub mir_lower_module_all_functions: Arc<<MirLowerModuleAllFunctionsQuery as Query>::Storage>, pub mir_lower_contract_all_functions: Arc<<MirLowerContractAllFunctionsQuery as Query>::Storage>, pub mir_lower_struct_all_functions: Arc<<MirLowerStructAllFunctionsQuery as Query>::Storage>, pub mir_lower_enum_all_functions: Arc<<MirLowerEnumAllFunctionsQuery as Query>::Storage>, pub mir_lowered_type: Arc<<MirLoweredTypeQuery as Query>::Storage>, pub mir_lowered_constant: Arc<<MirLoweredConstantQuery as Query>::Storage>, pub mir_lowered_func_signature: Arc<<MirLoweredFuncSignatureQuery as Query>::Storage>, pub mir_lowered_monomorphized_func_signature: Arc<<MirLoweredMonomorphizedFuncSignatureQuery as Query>::Storage>, pub mir_lowered_pseudo_monomorphized_func_signature: Arc<<MirLoweredPseudoMonomorphizedFuncSignatureQuery as Query>::Storage>, pub mir_lowered_func_body: Arc<<MirLoweredFuncBodyQuery as Query>::Storage>,
}

Fields§

§mir_intern_const: Arc<<MirInternConstQuery as Query>::Storage>§lookup_mir_intern_const: Arc<<MirInternConstLookupQuery as Query>::Storage>§mir_intern_type: Arc<<MirInternTypeQuery as Query>::Storage>§lookup_mir_intern_type: Arc<<MirInternTypeLookupQuery as Query>::Storage>§mir_intern_function: Arc<<MirInternFunctionQuery as Query>::Storage>§lookup_mir_intern_function: Arc<<MirInternFunctionLookupQuery as Query>::Storage>§mir_lower_module_all_functions: Arc<<MirLowerModuleAllFunctionsQuery as Query>::Storage>§mir_lower_contract_all_functions: Arc<<MirLowerContractAllFunctionsQuery as Query>::Storage>§mir_lower_struct_all_functions: Arc<<MirLowerStructAllFunctionsQuery as Query>::Storage>§mir_lower_enum_all_functions: Arc<<MirLowerEnumAllFunctionsQuery as Query>::Storage>§mir_lowered_type: Arc<<MirLoweredTypeQuery as Query>::Storage>§mir_lowered_constant: Arc<<MirLoweredConstantQuery as Query>::Storage>§mir_lowered_func_signature: Arc<<MirLoweredFuncSignatureQuery as Query>::Storage>§mir_lowered_monomorphized_func_signature: Arc<<MirLoweredMonomorphizedFuncSignatureQuery as Query>::Storage>§mir_lowered_pseudo_monomorphized_func_signature: Arc<<MirLoweredPseudoMonomorphizedFuncSignatureQuery as Query>::Storage>§mir_lowered_func_body: Arc<<MirLoweredFuncBodyQuery as Query>::Storage>

Implementations§

Source§

impl MirDbGroupStorage__

Source

pub fn new(group_index: u16) -> Self

Source§

impl MirDbGroupStorage__

Source

pub fn fmt_index( &self, db: &(dyn MirDb + '_), input: DatabaseKeyIndex, fmt: &mut Formatter<'_>, ) -> Result

Source

pub fn maybe_changed_since( &self, db: &(dyn MirDb + '_), input: DatabaseKeyIndex, revision: Revision, ) -> bool

Source

pub fn for_each_query( &self, _runtime: &Runtime, op: &mut dyn FnMut(&dyn QueryStorageMassOps), )

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.