[][src]Enum sic_lib::parser::Rule

pub enum Rule {
    EOI,
    WHITESPACE,
    sep,
    fp,
    uint,
    int,
    string,
    triplet_sep,
    triplet_fp3,
    f3x3_args_sep,
    f3x3_args_no_sep,
    blur,
    brighten,
    contrast,
    crop,
    filter3x3,
    flip_horizontal,
    flip_vertical,
    grayscale,
    huerotate,
    invert,
    resize,
    rotate90,
    rotate180,
    rotate270,
    unsharpen,
    env_resize_sampling_filter_name,
    env_resize_preserve_aspect_ratio_name,
    env_available,
    set_resize_sampling_filter,
    set_resize_preserve_aspect_ratio,
    setenv_available,
    setopt,
    unsetopt,
    operation,
    sequence,
    main,
}

Variants

EOIWHITESPACEsepfpuintintstringtriplet_septriplet_fp3f3x3_args_sepf3x3_args_no_sepblurbrightencontrastcropfilter3x3flip_horizontalflip_verticalgrayscalehuerotateinvertresizerotate90rotate180rotate270unsharpenenv_resize_sampling_filter_nameenv_resize_preserve_aspect_ratio_nameenv_availableset_resize_sampling_filterset_resize_preserve_aspect_ratiosetenv_availablesetoptunsetoptoperationsequencemain

Trait Implementations

impl Eq for Rule[src]

impl Ord for Rule[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl PartialEq<Rule> for Rule[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Copy for Rule[src]

impl Clone for Rule[src]

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

Performs copy-assignment from source. Read more

impl PartialOrd<Rule> for Rule[src]

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Debug for Rule[src]

impl Hash for Rule[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for Rule

impl Sync for Rule

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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]

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.

impl<T> RuleType for T where
    T: Copy + Eq + Ord + Hash + Debug
[src]