[][src]Struct shell_rs::LnOptions

pub struct LnOptions {
    pub expand_env: bool,
    pub force: bool,
    pub physical: bool,
    pub logical: bool,
    pub symbolic: bool,
}

Options for ln().

Fields

expand_env: bool

Expand environment path.

force: bool

Remove existing destination files.

physical: bool

Make hard links instead of symbolic links.

logical: bool

Dereferences target that is a symbolic link.

symbolic: bool

Make symbolic links instead of hard links.

Trait Implementations

impl Default for LnOptions[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[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<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]