Struct puffin::algebra::atoms::fn_container::FnContainer
source · pub struct FnContainer<PT: ProtocolTypes> {
pub shape: DynamicFunctionShape<PT>,
pub dynamic_fn: Box<dyn DynamicFunction<PT>>,
}
Fields§
§shape: DynamicFunctionShape<PT>
§dynamic_fn: Box<dyn DynamicFunction<PT>>
Trait Implementations§
source§impl<PT: Clone + ProtocolTypes> Clone for FnContainer<PT>
impl<PT: Clone + ProtocolTypes> Clone for FnContainer<PT>
source§fn clone(&self) -> FnContainer<PT>
fn clone(&self) -> FnContainer<PT>
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<PT: Debug + ProtocolTypes> Debug for FnContainer<PT>
impl<PT: Debug + ProtocolTypes> Debug for FnContainer<PT>
source§impl<'de, PT: ProtocolTypes> Deserialize<'de> for FnContainer<PT>
impl<'de, PT: ProtocolTypes> Deserialize<'de> for FnContainer<PT>
source§fn deserialize<D>(deserializer: D) -> Result<FnContainer<PT>, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<FnContainer<PT>, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<PT: ProtocolTypes> Hash for FnContainer<PT>
impl<PT: ProtocolTypes> Hash for FnContainer<PT>
source§impl<PT: ProtocolTypes> PartialEq for FnContainer<PT>
impl<PT: ProtocolTypes> PartialEq for FnContainer<PT>
source§impl<PT: ProtocolTypes> Serialize for FnContainer<PT>
impl<PT: ProtocolTypes> Serialize for FnContainer<PT>
impl<PT: ProtocolTypes> Eq for FnContainer<PT>
Auto Trait Implementations§
impl<PT> Freeze for FnContainer<PT>
impl<PT> !RefUnwindSafe for FnContainer<PT>
impl<PT> Send for FnContainer<PT>where
PT: Send,
impl<PT> Sync for FnContainer<PT>where
PT: Sync,
impl<PT> Unpin for FnContainer<PT>where
PT: Unpin,
impl<PT> !UnwindSafe for FnContainer<PT>
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.