pub struct ParsedDeclEngine { /* private fields */ }
Expand description
Used inside of type inference to store declarations.
Implementations§
Source§impl ParsedDeclEngine
impl ParsedDeclEngine
pub fn clear_program(&mut self, program_id: &ProgramId)
Source§impl ParsedDeclEngine
impl ParsedDeclEngine
pub fn clear_module(&mut self, program_id: &SourceId)
Source§impl ParsedDeclEngine
impl ParsedDeclEngine
Sourcepub fn get_function<I>(&self, index: &I) -> Arc<FunctionDeclaration>
pub fn get_function<I>(&self, index: &I) -> Arc<FunctionDeclaration>
Friendly helper method for calling the get
method from the
implementation of ParsedDeclEngineGet for ParsedDeclEngine
Calling [ParsedDeclEngine][get] directly is equivalent to this method, but this method adds additional syntax that some users may find helpful.
Sourcepub fn get_trait<I>(&self, index: &I) -> Arc<TraitDeclaration>
pub fn get_trait<I>(&self, index: &I) -> Arc<TraitDeclaration>
Friendly helper method for calling the get
method from the
implementation of [DeclEngineGet] for [DeclEngine]
Calling [ParsedDeclEngine][get] directly is equivalent to this method, but this method adds additional syntax that some users may find helpful.
Sourcepub fn get_trait_fn<I>(&self, index: &I) -> Arc<TraitFn>
pub fn get_trait_fn<I>(&self, index: &I) -> Arc<TraitFn>
Friendly helper method for calling the get
method from the
implementation of ParsedDeclEngineGet for ParsedDeclEngine
Calling [ParsedDeclEngine][get] directly is equivalent to this method, but this method adds additional syntax that some users may find helpful.
Sourcepub fn get_impl_self_or_trait<I>(&self, index: &I) -> Arc<ImplSelfOrTrait>
pub fn get_impl_self_or_trait<I>(&self, index: &I) -> Arc<ImplSelfOrTrait>
Friendly helper method for calling the get
method from the
implementation of ParsedDeclEngineGet for ParsedDeclEngine
Calling [ParsedDeclEngine][get] directly is equivalent to this method, but this method adds additional syntax that some users may find helpful.
Sourcepub fn get_struct<I>(&self, index: &I) -> Arc<StructDeclaration>
pub fn get_struct<I>(&self, index: &I) -> Arc<StructDeclaration>
Friendly helper method for calling the get
method from the
implementation of ParsedDeclEngineGet for ParsedDeclEngine
Calling [ParsedDeclEngine][get] directly is equivalent to this method, but this method adds additional syntax that some users may find helpful.
Sourcepub fn get_storage<I>(&self, index: &I) -> Arc<StorageDeclaration>
pub fn get_storage<I>(&self, index: &I) -> Arc<StorageDeclaration>
Friendly helper method for calling the get
method from the
implementation of ParsedDeclEngineGet for ParsedDeclEngine.
Calling [ParsedDeclEngine][get] directly is equivalent to this method, but this method adds additional syntax that some users may find helpful.
Sourcepub fn get_abi<I>(&self, index: &I) -> Arc<AbiDeclaration>
pub fn get_abi<I>(&self, index: &I) -> Arc<AbiDeclaration>
Friendly helper method for calling the get
method from the
implementation of ParsedDeclEngineGet for ParsedDeclEngine
Calling [ParsedDeclEngine][get] directly is equivalent to this method, but this method adds additional syntax that some users may find helpful.
Sourcepub fn get_constant<I>(&self, index: &I) -> Arc<ConstantDeclaration>
pub fn get_constant<I>(&self, index: &I) -> Arc<ConstantDeclaration>
Friendly helper method for calling the get
method from the
implementation of ParsedDeclEngineGet for ParsedDeclEngine
Calling [ParsedDeclEngine][get] directly is equivalent to this method, but this method adds additional syntax that some users may find helpful.
Sourcepub fn get_configurable<I>(&self, index: &I) -> Arc<ConfigurableDeclaration>
pub fn get_configurable<I>(&self, index: &I) -> Arc<ConfigurableDeclaration>
Friendly helper method for calling the get
method from the
implementation of ParsedDeclEngineGet for ParsedDeclEngine
Calling [ParsedDeclEngine][get] directly is equivalent to this method, but this method adds additional syntax that some users may find helpful.
Sourcepub fn get_trait_type<I>(&self, index: &I) -> Arc<TraitTypeDeclaration>
pub fn get_trait_type<I>(&self, index: &I) -> Arc<TraitTypeDeclaration>
Friendly helper method for calling the get
method from the
implementation of ParsedDeclEngineGet for ParsedDeclEngine
Calling [ParsedDeclEngine][get] directly is equivalent to this method, but this method adds additional syntax that some users may find helpful.
Sourcepub fn get_enum<I>(&self, index: &I) -> Arc<EnumDeclaration>
pub fn get_enum<I>(&self, index: &I) -> Arc<EnumDeclaration>
Friendly helper method for calling the get
method from the
implementation of ParsedDeclEngineGet for ParsedDeclEngine
Calling [ParsedDeclEngine][get] directly is equivalent to this method, but this method adds additional syntax that some users may find helpful.
Sourcepub fn get_enum_variant<I>(&self, index: &I) -> Arc<EnumVariant>
pub fn get_enum_variant<I>(&self, index: &I) -> Arc<EnumVariant>
Friendly helper method for calling the get
method from the
implementation of ParsedDeclEngineGet for ParsedDeclEngine
Calling [ParsedDeclEngine][get] directly is equivalent to this method, but this method adds additional syntax that some users may find helpful.
Sourcepub fn get_type_alias<I>(&self, index: &I) -> Arc<TypeAliasDeclaration>
pub fn get_type_alias<I>(&self, index: &I) -> Arc<TypeAliasDeclaration>
Friendly helper method for calling the get
method from the
implementation of ParsedDeclEngineGet for ParsedDeclEngine
Calling [ParsedDeclEngine][get] directly is equivalent to this method, but this method adds additional syntax that some users may find helpful.
Sourcepub fn get_variable<I>(&self, index: &I) -> Arc<VariableDeclaration>
pub fn get_variable<I>(&self, index: &I) -> Arc<VariableDeclaration>
Friendly helper method for calling the get
method from the
implementation of ParsedDeclEngineGet for ParsedDeclEngine
Calling [ParsedDeclEngine][get] directly is equivalent to this method, but this method adds additional syntax that some users may find helpful.
pub fn pretty_print(&self) -> String
Trait Implementations§
Source§impl Clone for ParsedDeclEngine
impl Clone for ParsedDeclEngine
Source§fn clone(&self) -> ParsedDeclEngine
fn clone(&self) -> ParsedDeclEngine
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ParsedDeclEngine
impl Debug for ParsedDeclEngine
Source§impl Default for ParsedDeclEngine
impl Default for ParsedDeclEngine
Source§fn default() -> ParsedDeclEngine
fn default() -> ParsedDeclEngine
Source§impl ParsedDeclEngineGet<ParsedDeclId<AbiDeclaration>, AbiDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineGet<ParsedDeclId<AbiDeclaration>, AbiDeclaration> for ParsedDeclEngine
fn get(&self, index: &ParsedDeclId<AbiDeclaration>) -> Arc<AbiDeclaration>
Source§impl ParsedDeclEngineGet<ParsedDeclId<ConfigurableDeclaration>, ConfigurableDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineGet<ParsedDeclId<ConfigurableDeclaration>, ConfigurableDeclaration> for ParsedDeclEngine
fn get( &self, index: &ParsedDeclId<ConfigurableDeclaration>, ) -> Arc<ConfigurableDeclaration>
Source§impl ParsedDeclEngineGet<ParsedDeclId<ConstantDeclaration>, ConstantDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineGet<ParsedDeclId<ConstantDeclaration>, ConstantDeclaration> for ParsedDeclEngine
fn get( &self, index: &ParsedDeclId<ConstantDeclaration>, ) -> Arc<ConstantDeclaration>
Source§impl ParsedDeclEngineGet<ParsedDeclId<EnumDeclaration>, EnumDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineGet<ParsedDeclId<EnumDeclaration>, EnumDeclaration> for ParsedDeclEngine
fn get(&self, index: &ParsedDeclId<EnumDeclaration>) -> Arc<EnumDeclaration>
Source§impl ParsedDeclEngineGet<ParsedDeclId<EnumVariant>, EnumVariant> for ParsedDeclEngine
impl ParsedDeclEngineGet<ParsedDeclId<EnumVariant>, EnumVariant> for ParsedDeclEngine
fn get(&self, index: &ParsedDeclId<EnumVariant>) -> Arc<EnumVariant>
Source§impl ParsedDeclEngineGet<ParsedDeclId<FunctionDeclaration>, FunctionDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineGet<ParsedDeclId<FunctionDeclaration>, FunctionDeclaration> for ParsedDeclEngine
fn get( &self, index: &ParsedDeclId<FunctionDeclaration>, ) -> Arc<FunctionDeclaration>
Source§impl ParsedDeclEngineGet<ParsedDeclId<ImplSelfOrTrait>, ImplSelfOrTrait> for ParsedDeclEngine
impl ParsedDeclEngineGet<ParsedDeclId<ImplSelfOrTrait>, ImplSelfOrTrait> for ParsedDeclEngine
fn get(&self, index: &ParsedDeclId<ImplSelfOrTrait>) -> Arc<ImplSelfOrTrait>
Source§impl ParsedDeclEngineGet<ParsedDeclId<StorageDeclaration>, StorageDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineGet<ParsedDeclId<StorageDeclaration>, StorageDeclaration> for ParsedDeclEngine
fn get( &self, index: &ParsedDeclId<StorageDeclaration>, ) -> Arc<StorageDeclaration>
Source§impl ParsedDeclEngineGet<ParsedDeclId<StructDeclaration>, StructDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineGet<ParsedDeclId<StructDeclaration>, StructDeclaration> for ParsedDeclEngine
fn get(&self, index: &ParsedDeclId<StructDeclaration>) -> Arc<StructDeclaration>
Source§impl ParsedDeclEngineGet<ParsedDeclId<TraitDeclaration>, TraitDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineGet<ParsedDeclId<TraitDeclaration>, TraitDeclaration> for ParsedDeclEngine
fn get(&self, index: &ParsedDeclId<TraitDeclaration>) -> Arc<TraitDeclaration>
Source§impl ParsedDeclEngineGet<ParsedDeclId<TraitTypeDeclaration>, TraitTypeDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineGet<ParsedDeclId<TraitTypeDeclaration>, TraitTypeDeclaration> for ParsedDeclEngine
fn get( &self, index: &ParsedDeclId<TraitTypeDeclaration>, ) -> Arc<TraitTypeDeclaration>
Source§impl ParsedDeclEngineGet<ParsedDeclId<TypeAliasDeclaration>, TypeAliasDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineGet<ParsedDeclId<TypeAliasDeclaration>, TypeAliasDeclaration> for ParsedDeclEngine
fn get( &self, index: &ParsedDeclId<TypeAliasDeclaration>, ) -> Arc<TypeAliasDeclaration>
Source§impl ParsedDeclEngineGet<ParsedDeclId<VariableDeclaration>, VariableDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineGet<ParsedDeclId<VariableDeclaration>, VariableDeclaration> for ParsedDeclEngine
fn get( &self, index: &ParsedDeclId<VariableDeclaration>, ) -> Arc<VariableDeclaration>
Source§impl ParsedDeclEngineInsert<AbiDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineInsert<AbiDeclaration> for ParsedDeclEngine
fn insert(&self, decl: AbiDeclaration) -> ParsedDeclId<AbiDeclaration>
Source§impl ParsedDeclEngineInsert<ConfigurableDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineInsert<ConfigurableDeclaration> for ParsedDeclEngine
fn insert( &self, decl: ConfigurableDeclaration, ) -> ParsedDeclId<ConfigurableDeclaration>
Source§impl ParsedDeclEngineInsert<ConstantDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineInsert<ConstantDeclaration> for ParsedDeclEngine
fn insert(&self, decl: ConstantDeclaration) -> ParsedDeclId<ConstantDeclaration>
Source§impl ParsedDeclEngineInsert<EnumDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineInsert<EnumDeclaration> for ParsedDeclEngine
fn insert(&self, decl: EnumDeclaration) -> ParsedDeclId<EnumDeclaration>
Source§impl ParsedDeclEngineInsert<EnumVariant> for ParsedDeclEngine
impl ParsedDeclEngineInsert<EnumVariant> for ParsedDeclEngine
fn insert(&self, decl: EnumVariant) -> ParsedDeclId<EnumVariant>
Source§impl ParsedDeclEngineInsert<FunctionDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineInsert<FunctionDeclaration> for ParsedDeclEngine
fn insert(&self, decl: FunctionDeclaration) -> ParsedDeclId<FunctionDeclaration>
Source§impl ParsedDeclEngineInsert<ImplSelfOrTrait> for ParsedDeclEngine
impl ParsedDeclEngineInsert<ImplSelfOrTrait> for ParsedDeclEngine
fn insert(&self, decl: ImplSelfOrTrait) -> ParsedDeclId<ImplSelfOrTrait>
Source§impl ParsedDeclEngineInsert<StorageDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineInsert<StorageDeclaration> for ParsedDeclEngine
fn insert(&self, decl: StorageDeclaration) -> ParsedDeclId<StorageDeclaration>
Source§impl ParsedDeclEngineInsert<StructDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineInsert<StructDeclaration> for ParsedDeclEngine
fn insert(&self, decl: StructDeclaration) -> ParsedDeclId<StructDeclaration>
Source§impl ParsedDeclEngineInsert<TraitDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineInsert<TraitDeclaration> for ParsedDeclEngine
fn insert(&self, decl: TraitDeclaration) -> ParsedDeclId<TraitDeclaration>
Source§impl ParsedDeclEngineInsert<TraitTypeDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineInsert<TraitTypeDeclaration> for ParsedDeclEngine
fn insert( &self, decl: TraitTypeDeclaration, ) -> ParsedDeclId<TraitTypeDeclaration>
Source§impl ParsedDeclEngineInsert<TypeAliasDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineInsert<TypeAliasDeclaration> for ParsedDeclEngine
fn insert( &self, decl: TypeAliasDeclaration, ) -> ParsedDeclId<TypeAliasDeclaration>
Source§impl ParsedDeclEngineInsert<VariableDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineInsert<VariableDeclaration> for ParsedDeclEngine
fn insert(&self, decl: VariableDeclaration) -> ParsedDeclId<VariableDeclaration>
Source§impl ParsedDeclEngineReplace<AbiDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineReplace<AbiDeclaration> for ParsedDeclEngine
fn replace(&self, index: ParsedDeclId<AbiDeclaration>, decl: AbiDeclaration)
Source§impl ParsedDeclEngineReplace<ConfigurableDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineReplace<ConfigurableDeclaration> for ParsedDeclEngine
fn replace( &self, index: ParsedDeclId<ConfigurableDeclaration>, decl: ConfigurableDeclaration, )
Source§impl ParsedDeclEngineReplace<ConstantDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineReplace<ConstantDeclaration> for ParsedDeclEngine
fn replace( &self, index: ParsedDeclId<ConstantDeclaration>, decl: ConstantDeclaration, )
Source§impl ParsedDeclEngineReplace<EnumDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineReplace<EnumDeclaration> for ParsedDeclEngine
fn replace(&self, index: ParsedDeclId<EnumDeclaration>, decl: EnumDeclaration)
Source§impl ParsedDeclEngineReplace<FunctionDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineReplace<FunctionDeclaration> for ParsedDeclEngine
fn replace( &self, index: ParsedDeclId<FunctionDeclaration>, decl: FunctionDeclaration, )
Source§impl ParsedDeclEngineReplace<ImplSelfOrTrait> for ParsedDeclEngine
impl ParsedDeclEngineReplace<ImplSelfOrTrait> for ParsedDeclEngine
fn replace(&self, index: ParsedDeclId<ImplSelfOrTrait>, decl: ImplSelfOrTrait)
Source§impl ParsedDeclEngineReplace<StorageDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineReplace<StorageDeclaration> for ParsedDeclEngine
fn replace( &self, index: ParsedDeclId<StorageDeclaration>, decl: StorageDeclaration, )
Source§impl ParsedDeclEngineReplace<StructDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineReplace<StructDeclaration> for ParsedDeclEngine
fn replace( &self, index: ParsedDeclId<StructDeclaration>, decl: StructDeclaration, )
Source§impl ParsedDeclEngineReplace<TraitDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineReplace<TraitDeclaration> for ParsedDeclEngine
fn replace(&self, index: ParsedDeclId<TraitDeclaration>, decl: TraitDeclaration)
Source§impl ParsedDeclEngineReplace<TraitTypeDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineReplace<TraitTypeDeclaration> for ParsedDeclEngine
fn replace( &self, index: ParsedDeclId<TraitTypeDeclaration>, decl: TraitTypeDeclaration, )
Source§impl ParsedDeclEngineReplace<TypeAliasDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineReplace<TypeAliasDeclaration> for ParsedDeclEngine
fn replace( &self, index: ParsedDeclId<TypeAliasDeclaration>, decl: TypeAliasDeclaration, )
Source§impl ParsedDeclEngineReplace<VariableDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineReplace<VariableDeclaration> for ParsedDeclEngine
fn replace( &self, index: ParsedDeclId<VariableDeclaration>, decl: VariableDeclaration, )
impl ParsedDeclEngineIndex<AbiDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineIndex<ConfigurableDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineIndex<ConstantDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineIndex<EnumDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineIndex<FunctionDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineIndex<ImplSelfOrTrait> for ParsedDeclEngine
impl ParsedDeclEngineIndex<StorageDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineIndex<StructDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineIndex<TraitDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineIndex<TraitFn> for ParsedDeclEngine
impl ParsedDeclEngineIndex<TraitTypeDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineIndex<TypeAliasDeclaration> for ParsedDeclEngine
impl ParsedDeclEngineIndex<VariableDeclaration> for ParsedDeclEngine
Auto Trait Implementations§
impl !Freeze for ParsedDeclEngine
impl !RefUnwindSafe for ParsedDeclEngine
impl Send for ParsedDeclEngine
impl Sync for ParsedDeclEngine
impl Unpin for ParsedDeclEngine
impl UnwindSafe for ParsedDeclEngine
Blanket Implementations§
Source§impl<T> AnyDebug for T
impl<T> AnyDebug for T
Source§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Any
.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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self
to use its Binary
implementation when Debug
-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self
to use its Display
implementation when
Debug
-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self
to use its LowerExp
implementation when
Debug
-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self
to use its LowerHex
implementation when
Debug
-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self
to use its Octal
implementation when Debug
-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self
to use its Pointer
implementation when
Debug
-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self
to use its UpperExp
implementation when
Debug
-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self
to use its UpperHex
implementation when
Debug
-formatted.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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>
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>
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 moreSource§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self
, then passes self.as_ref()
into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self
, then passes self.as_mut()
into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self
, then passes self.deref()
into the pipe function.Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> StorageAsMut for T
impl<T> StorageAsMut for T
fn storage<Type>(&mut self) -> StorageMut<'_, Self, Type>where
Type: Mappable,
fn storage_as_mut<Type>(&mut self) -> StorageMut<'_, Self, Type>where
Type: Mappable,
Source§impl<T> StorageAsRef for T
impl<T> StorageAsRef for T
fn storage<Type>(&self) -> StorageRef<'_, Self, Type>where
Type: Mappable,
fn storage_as_ref<Type>(&self) -> StorageRef<'_, Self, Type>where
Type: Mappable,
Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B>
of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B>
of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R>
view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R>
view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target
of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target
of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap()
only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut()
only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow()
only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref()
only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut()
only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref()
only in debug builds, and is erased in release
builds.