pub struct EntrypointsView<'a> { /* private fields */ }Expand description
View into entrypoints.
Implementations§
Source§impl<'a> EntrypointsView<'a>
impl<'a> EntrypointsView<'a>
Sourcepub fn get(&self, idx: usize) -> Entrypoint
pub fn get(&self, idx: usize) -> Entrypoint
Get an entrypoint by index.
Sourcepub fn find_by_name(
&self,
name: &str,
strings: &StringsView<'_>,
) -> Option<Entrypoint>
pub fn find_by_name( &self, name: &str, strings: &StringsView<'_>, ) -> Option<Entrypoint>
Find an entrypoint by name (requires StringsView for comparison).
Auto Trait Implementations§
impl<'a> Freeze for EntrypointsView<'a>
impl<'a> RefUnwindSafe for EntrypointsView<'a>
impl<'a> Send for EntrypointsView<'a>
impl<'a> Sync for EntrypointsView<'a>
impl<'a> Unpin for EntrypointsView<'a>
impl<'a> UnwindSafe for EntrypointsView<'a>
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