pub struct CallablePrototype {
pub kind: CallableKind,
pub target: CallableTarget,
pub arity: u8,
pub frame_local_count: usize,
pub parameter_slots: Vec<u16>,
pub capture_source_slots: Vec<u16>,
pub capture_slots: Vec<u16>,
pub capture_modes: Vec<CaptureBindingMode>,
pub self_slot: Option<u16>,
pub schema: Option<TypeSchema>,
}Fields§
§kind: CallableKind§target: CallableTarget§arity: u8§frame_local_count: usize§parameter_slots: Vec<u16>§capture_source_slots: Vec<u16>§capture_slots: Vec<u16>§capture_modes: Vec<CaptureBindingMode>§self_slot: Option<u16>§schema: Option<TypeSchema>Trait Implementations§
Source§impl Clone for CallablePrototype
impl Clone for CallablePrototype
Source§fn clone(&self) -> CallablePrototype
fn clone(&self) -> CallablePrototype
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CallablePrototype
impl Debug for CallablePrototype
impl Eq for CallablePrototype
Source§impl PartialEq for CallablePrototype
impl PartialEq for CallablePrototype
impl StructuralPartialEq for CallablePrototype
Auto Trait Implementations§
impl Freeze for CallablePrototype
impl RefUnwindSafe for CallablePrototype
impl Send for CallablePrototype
impl Sync for CallablePrototype
impl Unpin for CallablePrototype
impl UnsafeUnpin for CallablePrototype
impl UnwindSafe for CallablePrototype
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.