pub trait DependencyCodeGeneration:
Debug
+ DynClone
+ Sync
+ Send
+ AsAny
+ SerializeDyn {
// Provided methods
fn update_hash(
&self,
_hasher: &mut dyn Hasher,
_compilation: &Compilation,
_runtime: Option<&RuntimeSpec>,
) { ... }
fn dependency_template(&self) -> Option<DependencyTemplateType> { ... }
}Provided Methods§
fn update_hash( &self, _hasher: &mut dyn Hasher, _compilation: &Compilation, _runtime: Option<&RuntimeSpec>, )
fn dependency_template(&self) -> Option<DependencyTemplateType>
Trait Implementations§
Source§impl ArchiveUnsized for dyn DependencyCodeGeneration
impl ArchiveUnsized for dyn DependencyCodeGeneration
Source§type Archived = dyn DeserializeDependencyCodeGeneration
type Archived = dyn DeserializeDependencyCodeGeneration
The archived counterpart of this type. Unlike
Archive, it may be
unsized. Read moreSource§fn archived_metadata(&self) -> ArchivedMetadata<Self>
fn archived_metadata(&self) -> ArchivedMetadata<Self>
Creates the archived version of the metadata for this value.
Source§impl LayoutRaw for dyn DependencyCodeGeneration
impl LayoutRaw for dyn DependencyCodeGeneration
Source§fn layout_raw(
metadata: <Self as Pointee>::Metadata,
) -> Result<Layout, LayoutError>
fn layout_raw( metadata: <Self as Pointee>::Metadata, ) -> Result<Layout, LayoutError>
Returns the layout of the type.
Source§impl Pointee for dyn DependencyCodeGeneration
impl Pointee for dyn DependencyCodeGeneration
Source§type Metadata = DynMetadata<dyn DependencyCodeGeneration>
type Metadata = DynMetadata<dyn DependencyCodeGeneration>
The metadata type for pointers and references to this type.
Source§fn serialize_unsized(
&self,
serializer: &mut Serializer<'_>,
) -> Result<usize, Error>
fn serialize_unsized( &self, serializer: &mut Serializer<'_>, ) -> Result<usize, Error>
Writes the object and returns the position of the archived type.