Struct evcxr_repl::EvcxrRustylineHelper [−][src]
Implementations
impl EvcxrRustylineHelper[src]
pub fn new(command_context: Arc<Mutex<CommandContext>>) -> Self[src]
Trait Implementations
impl Completer for EvcxrRustylineHelper[src]
type Candidate = String
Specific completion candidate.
fn complete(
&self,
line: &str,
pos: usize,
_ctx: &Context<'_>
) -> Result<(usize, Vec<String>)>[src]
&self,
line: &str,
pos: usize,
_ctx: &Context<'_>
) -> Result<(usize, Vec<String>)>
pub fn update(&self, line: &mut LineBuffer, start: usize, elected: &str)[src]
impl Helper for EvcxrRustylineHelper[src]
impl Highlighter for EvcxrRustylineHelper[src]
fn highlight_prompt<'b, 's: 'b, 'p: 'b>(
&'s self,
prompt: &'p str,
_default: bool
) -> Cow<'b, str>[src]
&'s self,
prompt: &'p str,
_default: bool
) -> Cow<'b, str>
pub fn highlight(&self, line: &'l str, pos: usize) -> Cow<'l, str>[src]
pub fn highlight_hint(&self, hint: &'h str) -> Cow<'h, str>[src]
pub fn highlight_candidate(
&self,
candidate: &'c str,
completion: CompletionType
) -> Cow<'c, str>[src]
&self,
candidate: &'c str,
completion: CompletionType
) -> Cow<'c, str>
pub fn highlight_char(&self, line: &str, pos: usize) -> bool[src]
impl Hinter for EvcxrRustylineHelper[src]
type Hint = String
Specific hint type
pub fn hint(
&self,
line: &str,
pos: usize,
ctx: &Context<'_>
) -> Option<Self::Hint>[src]
&self,
line: &str,
pos: usize,
ctx: &Context<'_>
) -> Option<Self::Hint>
impl Validator for EvcxrRustylineHelper[src]
fn validate(
&self,
ctx: &mut ValidationContext<'_>
) -> Result<ValidationResult, ReadlineError>[src]
&self,
ctx: &mut ValidationContext<'_>
) -> Result<ValidationResult, ReadlineError>
fn validate_while_typing(&self) -> bool[src]
Auto Trait Implementations
impl RefUnwindSafe for EvcxrRustylineHelper
impl Send for EvcxrRustylineHelper
impl Sync for EvcxrRustylineHelper
impl Unpin for EvcxrRustylineHelper
impl UnwindSafe for EvcxrRustylineHelper
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Cast for T
pub fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
Self: CastTo<U>,
U: HasInterner,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,