[][src]Struct cargo_src::config::Config

pub struct Config {
    pub build_command: String,
    pub edit_command: String,
    pub unstable_features: bool,
    pub ip: String,
    pub port: usize,
    pub demo_mode: bool,
    pub demo_mode_root_path: String,
    pub context_lines: usize,
    pub build_on_load: bool,
    pub workspace_root: Option<String>,
    pub vcs_link: String,
}

Fields

build_command: Stringedit_command: Stringunstable_features: boolip: Stringport: usizedemo_mode: booldemo_mode_root_path: Stringcontext_lines: usizebuild_on_load: boolworkspace_root: Option<String>vcs_link: String

Methods

impl Config[src]

pub fn from_toml(s: &str) -> Config[src]

pub fn print_docs()[src]

Trait Implementations

impl Default for Config[src]

impl Clone for Config[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<'de> Deserialize<'de> for Config[src]

impl Serialize for Config[src]

Auto Trait Implementations

impl Unpin for Config

impl Send for Config

impl Sync for Config

impl RefUnwindSafe for Config

impl UnwindSafe for Config

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<E> SpecializationError for E[src]

impl<T> Erased for T[src]