[][src]Struct rustpython::shell::rustyline_helper::ShellHelper

pub struct ShellHelper<'vm> {
    vm: &'vm VirtualMachine,
    scope: Scope,
}

Fields

vm: &'vm VirtualMachinescope: Scope

Methods

impl<'vm> ShellHelper<'vm>[src]

pub fn new(vm: &'vm VirtualMachine, scope: Scope) -> Self[src]

fn get_available_completions<'w>(
    &self,
    words: &'w [String]
) -> Option<(&'w str, Box<dyn Iterator<Item = PyResult<PyStringRef>> + 'vm>)>
[src]

fn complete_opt(&self, line: &str) -> Option<(usize, Vec<String>)>[src]

Trait Implementations

impl<'_> Completer for ShellHelper<'_>[src]

type Candidate = String

impl<'_> Helper for ShellHelper<'_>[src]

impl<'_> Highlighter for ShellHelper<'_>[src]

impl<'_> Hinter for ShellHelper<'_>[src]

impl<'_> Validator for ShellHelper<'_>[src]

Auto Trait Implementations

impl<'vm> !RefUnwindSafe for ShellHelper<'vm>

impl<'vm> !Send for ShellHelper<'vm>

impl<'vm> !Sync for ShellHelper<'vm>

impl<'vm> Unpin for ShellHelper<'vm>

impl<'vm> !UnwindSafe for ShellHelper<'vm>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy