pub enum CastConcreteLibfunc {
Downcast(<DowncastLibfunc as GenericLibfunc>::Concrete),
Upcast(<UpcastLibfunc as GenericLibfunc>::Concrete),
}
Variants§
Downcast(<DowncastLibfunc as GenericLibfunc>::Concrete)
Upcast(<UpcastLibfunc as GenericLibfunc>::Concrete)
Trait Implementations§
source§impl ConcreteLibfunc for CastConcreteLibfunc
impl ConcreteLibfunc for CastConcreteLibfunc
source§fn param_signatures(&self) -> &[ParamSignature]
fn param_signatures(&self) -> &[ParamSignature]
The parameter types and other information for the parameters for calling a library
function.
source§fn branch_signatures(&self) -> &[BranchSignature]
fn branch_signatures(&self) -> &[BranchSignature]
The output types and other information returning from a library function per branch.
source§fn fallthrough(&self) -> Option<usize>
fn fallthrough(&self) -> Option<usize>
The index of the fallthrough branch of the library function if any.
source§fn output_types(&self) -> Vec<Vec<ConcreteTypeId>>
fn output_types(&self) -> Vec<Vec<ConcreteTypeId>>
Returns the output types returning from a library function per branch.
Auto Trait Implementations§
impl RefUnwindSafe for CastConcreteLibfunc
impl Send for CastConcreteLibfunc
impl Sync for CastConcreteLibfunc
impl Unpin for CastConcreteLibfunc
impl UnwindSafe for CastConcreteLibfunc
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