Struct catalyst_entities::Code
source · pub struct Code { /* private fields */ }Expand description
Opaque reference to compiled code.
Implementations§
Trait Implementations§
source§impl Archive for Codewhere
u32: Archive,
u8: Archive,
Align: Archive,
impl Archive for Codewhere u32: Archive, u8: Archive, Align: Archive,
source§impl<__D: Fallible + ?Sized> Deserialize<Code, __D> for Archived<Code>where
u32: Archive,
Archived<u32>: Deserialize<u32, __D>,
u8: Archive,
Archived<u8>: Deserialize<u8, __D>,
Align: Archive,
Archived<Align>: Deserialize<Align, __D>,
impl<__D: Fallible + ?Sized> Deserialize<Code, __D> for Archived<Code>where u32: Archive, Archived<u32>: Deserialize<u32, __D>, u8: Archive, Archived<u8>: Deserialize<u8, __D>, Align: Archive, Archived<Align>: Deserialize<Align, __D>,
source§impl Ord for Code
impl Ord for Code
source§impl PartialEq<Code> for Code
impl PartialEq<Code> for Code
source§impl PartialOrd<Code> for Code
impl PartialOrd<Code> for Code
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl<__S: Fallible + ?Sized> Serialize<__S> for Codewhere
u32: Serialize<__S>,
u8: Serialize<__S>,
Align: Serialize<__S>,
impl<__S: Fallible + ?Sized> Serialize<__S> for Codewhere u32: Serialize<__S>, u8: Serialize<__S>, Align: Serialize<__S>,
impl Copy for Code
impl Eq for Code
Auto Trait Implementations§
impl ArchiveCopy for Code
impl NoInteriorMutability for Code
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnwindSafe for Code
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
source§impl<T> ArchiveUnsized for Twhere
T: Archive,
impl<T> ArchiveUnsized for Twhere T: Archive,
§type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
The archived counterpart of this type. Unlike
Archive, it may be unsized. Read more§type MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type. Read more
source§unsafe fn resolve_metadata(
&self,
_: usize,
_: <T as ArchiveUnsized>::MetadataResolver,
_: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
)
unsafe fn resolve_metadata( &self, _: usize, _: <T as ArchiveUnsized>::MetadataResolver, _: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata )
Creates the archived version of the metadata for this value at the given position and writes
it to the given output. Read more