Enum Behavior

enum Behavior

Should the editor use stdio

Variants

Stdio

Use stdin / stdout

PreferTerm

Use terminal-style interaction whenever possible, even if 'stdin' and/or 'stdout' are not terminals.

Implementations

impl Clone for Behavior

fn clone(self: &Self) -> Behavior

impl Copy for Behavior

impl Debug for Behavior

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Default for Behavior

fn default() -> Behavior

impl Eq for Behavior

impl Freeze for Behavior

impl PartialEq for Behavior

fn eq(self: &Self, other: &Behavior) -> bool

impl RefUnwindSafe for Behavior

impl Send for Behavior

impl StructuralPartialEq for Behavior

impl Sync for Behavior

impl Unpin for Behavior

impl UnwindSafe for Behavior

impl<T> Any for Behavior

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Behavior

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Behavior

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for Behavior

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for Behavior

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for Behavior

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for Behavior

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Behavior

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Behavior

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>