Struct ink_lang_ir::CallableWithSelector [−][src]
pub struct CallableWithSelector<'a, C> { /* fields omitted */ }
Expand description
Wrapper for a callable that adds its composed selector.
Implementations
Returns the composed selector of the ink! callable the impl
block.
Trait Implementations
Returns the kind of the ink! callable.
Returns the selector of the ink! callable if any has been manually set.
Returns true
if the ink! callable is flagged as payable. Read more
Returns the visibility of the ink! callable.
fn inputs(&self) -> InputsIter<'_>ⓘNotable traits for InputsIter<'a>impl<'a> Iterator for InputsIter<'a> type Item = &'a PatType;
fn inputs(&self) -> InputsIter<'_>ⓘNotable traits for InputsIter<'a>impl<'a> Iterator for InputsIter<'a> type Item = &'a PatType;
Notable traits for InputsIter<'a>
impl<'a> Iterator for InputsIter<'a> type Item = &'a PatType;
Returns an iterator yielding all input parameters of the ink! callable.
Returns the span of the inputs of the ink! callable.
Returns a slice over shared references to the statements of the callable.
Auto Trait Implementations
impl<'a, C> RefUnwindSafe for CallableWithSelector<'a, C> where
C: RefUnwindSafe,
impl<'a, C> !Send for CallableWithSelector<'a, C>
impl<'a, C> !Sync for CallableWithSelector<'a, C>
impl<'a, C> Unpin for CallableWithSelector<'a, C>
impl<'a, C> UnwindSafe for CallableWithSelector<'a, C> where
C: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more