Struct puffin::algebra::dynamic_function::TypeShape
source · pub struct TypeShape<PT: ProtocolTypes> {
inner_type_id: TypeId,
pub name: &'static str,
phantom: PhantomData<PT>,
}
Fields§
§inner_type_id: TypeId
§name: &'static str
§phantom: PhantomData<PT>
Implementations§
Trait Implementations§
source§impl<'de, PT: ProtocolTypes> Deserialize<'de> for TypeShape<PT>
impl<'de, PT: ProtocolTypes> Deserialize<'de> for TypeShape<PT>
source§fn deserialize<D>(deserializer: D) -> Result<TypeShape<PT>, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<TypeShape<PT>, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<PT: ProtocolTypes> Display for TypeShape<PT>
impl<PT: ProtocolTypes> Display for TypeShape<PT>
source§impl<PT: ProtocolTypes> Hash for TypeShape<PT>
impl<PT: ProtocolTypes> Hash for TypeShape<PT>
source§impl<PT: ProtocolTypes> PartialEq for TypeShape<PT>
impl<PT: ProtocolTypes> PartialEq for TypeShape<PT>
source§impl<PT: ProtocolTypes> Serialize for TypeShape<PT>
impl<PT: ProtocolTypes> Serialize for TypeShape<PT>
impl<PT: Copy + ProtocolTypes> Copy for TypeShape<PT>
impl<PT: ProtocolTypes> Eq for TypeShape<PT>
Auto Trait Implementations§
impl<PT> Freeze for TypeShape<PT>
impl<PT> RefUnwindSafe for TypeShape<PT>where
PT: RefUnwindSafe,
impl<PT> Send for TypeShape<PT>where
PT: Send,
impl<PT> Sync for TypeShape<PT>where
PT: Sync,
impl<PT> Unpin for TypeShape<PT>where
PT: Unpin,
impl<PT> UnwindSafe for TypeShape<PT>where
PT: UnwindSafe,
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
§impl<T> CloneAny for T
impl<T> CloneAny for T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.