pub struct Overload {
pub parameters: Vec<Handle<Type>>,
pub parameters_info: Vec<ParameterInfo>,
pub kind: FunctionKind,
pub defined: bool,
pub internal: bool,
pub void: bool,
}
Fields§
§parameters: Vec<Handle<Type>>
Normalized function parameters, modifiers are not applied
parameters_info: Vec<ParameterInfo>
§kind: FunctionKind
How the function is implemented
defined: bool
Whether this function was already defined or is just a prototype
internal: bool
Whether this overload is the one provided by the language or has been redeclared by the user (builtins only)
void: bool
Whether or not this function returns void (nothing)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Overload
impl RefUnwindSafe for Overload
impl Send for Overload
impl Sync for Overload
impl Unpin for Overload
impl UnwindSafe for Overload
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