Struct nandoize::mapping_context::ResolverMappingContext
source · pub(crate) struct ResolverMappingContext {
pub mapping: Vec<ResolverMapping>,
pub returns_result: bool,
pub function_kind: NandoKind,
pub result_type: String,
pub spawns_nandos: bool,
pub generic_mapping_context: Option<GenericVariableMappingContext>,
pub mutable_argument_indices: Vec<usize>,
pub cache_invalidations_on_completion: Vec<usize>,
}Fields§
§mapping: Vec<ResolverMapping>Order-preserving argument mapping.
returns_result: bool§function_kind: NandoKind§result_type: String§spawns_nandos: bool§generic_mapping_context: Option<GenericVariableMappingContext>§mutable_argument_indices: Vec<usize>§cache_invalidations_on_completion: Vec<usize>Implementations§
source§impl ResolverMappingContext
impl ResolverMappingContext
pub fn is_read_only(&self) -> bool
Trait Implementations§
source§impl Clone for ResolverMappingContext
impl Clone for ResolverMappingContext
source§fn clone(&self) -> ResolverMappingContext
fn clone(&self) -> ResolverMappingContext
Returns a copy 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 moresource§impl Debug for ResolverMappingContext
impl Debug for ResolverMappingContext
source§impl From<ArgumentMappingContext> for ResolverMappingContext
impl From<ArgumentMappingContext> for ResolverMappingContext
source§fn from(value: ArgumentMappingContext) -> Self
fn from(value: ArgumentMappingContext) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ResolverMappingContext
impl Send for ResolverMappingContext
impl Sync for ResolverMappingContext
impl Unpin for ResolverMappingContext
impl UnwindSafe for ResolverMappingContext
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