pub struct LambdaDef<R: Rt, E: UserEvent> {
pub id: LambdaId,
pub env: Env,
pub scope: Scope,
pub argspec: Arc<[Arg]>,
pub typ: Arc<FnType>,
pub init: InitFn<R, E>,
}Fields§
§id: LambdaId§env: Env§scope: Scope§argspec: Arc<[Arg]>§typ: Arc<FnType>§init: InitFn<R, E>Trait Implementations§
Source§impl<R: Rt, E: UserEvent> Ord for LambdaDef<R, E>
impl<R: Rt, E: UserEvent> Ord for LambdaDef<R, E>
Source§impl<R: Rt, E: UserEvent> Pack for LambdaDef<R, E>
impl<R: Rt, E: UserEvent> Pack for LambdaDef<R, E>
fn encoded_len(&self) -> usize
fn encode(&self, _buf: &mut impl BufMut) -> Result<(), PackError>
fn decode(_buf: &mut impl Buf) -> Result<Self, PackError>
fn const_encoded_len() -> Option<usize>
fn decode_into(&mut self, buf: &mut impl Buf) -> Result<(), PackError>where
Self: Sized,
Source§impl<R: Rt, E: UserEvent> PartialOrd for LambdaDef<R, E>
impl<R: Rt, E: UserEvent> PartialOrd for LambdaDef<R, E>
impl<R: Rt, E: UserEvent> Eq for LambdaDef<R, E>
Auto Trait Implementations§
impl<R, E> Freeze for LambdaDef<R, E>
impl<R, E> !RefUnwindSafe for LambdaDef<R, E>
impl<R, E> Send for LambdaDef<R, E>
impl<R, E> Sync for LambdaDef<R, E>
impl<R, E> Unpin for LambdaDef<R, E>
impl<R, E> !UnwindSafe for LambdaDef<R, E>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.