[][src]Enum cargo_workspace2::ops::Print

pub enum Print {
    Name,
    Path {
        abs: bool,
    },
    Both {
        abs: bool,
    },
}

Selection of which type to print

Variants

Name

Default: just the package name

Path

The path inside the repo

Fields of Path

abs: bool
Both

Both the name and path

Fields of Both

abs: bool

Trait Implementations

impl Default for Print[src]

Auto Trait Implementations

impl RefUnwindSafe for Print

impl Send for Print

impl Sync for Print

impl Unpin for Print

impl UnwindSafe for Print

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

impl<T, U> Into<U> for T where
    U: From<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.