[][src]Enum sic_cli_ops::operations::Op

pub enum Op {
    WithValues(OperationIdVec<String>),
    Bare(OperationId),
}

Represents an image operation which was obtained from CLI image operation commands.

OperationId := Type of operation we are dealing with, e.g. Blur or Rotate90. Vec := Vector of unverified string arguments; initially with multiple arguments we will receive multiple Op as Clap provides multiple arguments individually. The multiple Op will be unified where applicable.

The operation argument values are not parsed yet within this structure. The values are also not necessarily unified yet.

Variants

WithValues(OperationIdVec<String>)

Trait Implementations

impl Clone for Op[src]

impl Debug for Op[src]

impl Eq for Op[src]

impl PartialEq<Op> for Op[src]

impl StructuralEq for Op[src]

impl StructuralPartialEq for Op[src]

Auto Trait Implementations

impl RefUnwindSafe for Op

impl Send for Op

impl Sync for Op

impl Unpin for Op

impl UnwindSafe for Op

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> SetParameter for T

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.