Enum imageflow_types::Node [] [src]

pub enum Node {
    FlipV,
    FlipH,
    Crop {
        x1: u32,
        y1: u32,
        x2: u32,
        y2: u32,
    },
    CropWhitespace {
        threshold: u32,
        percent_padding: f32,
    },
    CreateCanvas {
        format: PixelFormat,
        w: usize,
        h: usize,
        color: Color,
    },
    CommandString {
        kind: CommandStringKind,
        value: String,
        decode: Option<i32>,
        encode: Option<i32>,
    },
    Constrain(Constraint),
    CopyRectToCanvas {
        from_x: u32,
        from_y: u32,
        width: u32,
        height: u32,
        x: u32,
        y: u32,
    },
    Decode {
        io_id: i32,
        commands: Option<Vec<DecoderCommand>>,
    },
    Encode {
        io_id: i32,
        preset: EncoderPreset,
    },
    FillRect {
        x1: u32,
        y1: u32,
        x2: u32,
        y2: u32,
        color: Color,
    },
    ExpandCanvas {
        left: u32,
        top: u32,
        right: u32,
        bottom: u32,
        color: Color,
    },
    Transpose,
    Rotate90,
    Rotate180,
    Rotate270,
    ApplyOrientation {
        flag: i32,
    },
    Resample2D {
        w: usize,
        h: usize,
        down_filter: Option<Filter>,
        up_filter: Option<Filter>,
        hints: Option<ResampleHints>,
    },
    Resample1D {
        scale_to_width: usize,
        transpose_on_write: bool,
        interpolation_filter: Option<Filter>,
    },
    FlowBitmapBgraPtr {
        ptr_to_flow_bitmap_bgra_ptr: usize,
    },
}

Variants

Fields of Crop

Fields of CropWhitespace

Fields of CreateCanvas

Fields of CommandString

Fields of CopyRectToCanvas

Fields of Decode

Fields of Encode

Fields of FillRect

Fields of ExpandCanvas

Fields of ApplyOrientation

Fields of Resample2D

Fields of Resample1D

Fields of FlowBitmapBgraPtr

Trait Implementations

impl Clone for Node
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Node
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Node
[src]

Formats the value using the given formatter.