[][src]Struct reef::Commands

pub struct Commands {
    pub history: Vec<Command>,
}

Fields

history: Vec<Command>

Implementations

impl Commands[src]

pub fn new() -> Self[src]

pub fn exec(&mut self, command_strs: &[&str])[src]

pub fn exec_in<P: AsRef<Path>>(&mut self, command_str: &str, path: P) -> Command[src]

pub fn save<P: AsRef<Path>>(&self, path: P) -> Result<()>[src]

pub fn open<P: AsRef<Path>>(path: P) -> Result<Commands>[src]

Trait Implementations

impl Clone for Commands[src]

impl Context for Commands[src]

impl Debug for Commands[src]

impl Default for Commands[src]

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

impl Display for Commands[src]

impl Eq for Commands[src]

impl<__S> GraphQLType<__S> for Commands where
    __S: ScalarValue,
    &'__b __S: ScalarRefValue<'__b>, 
[src]

type Context = ()

The expected context type for this GraphQL type Read more

type TypeInfo = ()

Type that may carry additional schema information Read more

impl Hash for Commands[src]

impl Ord for Commands[src]

impl PartialEq<Commands> for Commands[src]

impl PartialOrd<Commands> for Commands[src]

impl Serialize for Commands[src]

impl StructuralEq for Commands[src]

impl StructuralPartialEq for Commands[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> FromContext<T> for T where
    T: Context
[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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>,