pub struct Callable {
pub original_type_id: TypeId,
pub parameter_names: IndexSet<String>,
pub parameters: TypeId,
pub return_type: TypeId,
pub nil_terminated: bool,
pub generic_types: Vec<TypeId>,
}Expand description
Represents something which can be called with arguments and returns a given type.
Fields§
§original_type_id: TypeIdA pointer to the callable from which this was derived.
parameter_names: IndexSet<String>§parameters: TypeId§return_type: TypeId§nil_terminated: bool§generic_types: Vec<TypeId>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Callable
impl RefUnwindSafe for Callable
impl Send for Callable
impl Sync for Callable
impl Unpin for Callable
impl UnwindSafe for Callable
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