Struct quill_delta::DeltaOperation[][src]

pub struct DeltaOperation {
    pub kind: OpKind,
    pub attributes: HashMap<String, Value>,
}

Fields

Methods

impl DeltaOperation
[src]

Delete a value from the input

set the attribute in a shorthand way

extern crate quill_delta;
use quill_delta::DeltaOperation;
let op = DeltaOperation::insert("Hallo")
    .attr("font", "green")
    .attr("size", 10);

get the length

Trait Implementations

impl FromIterator<DeltaOperation> for Delta
[src]

Creates a value from an iterator. Read more

impl Clone for DeltaOperation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DeltaOperation
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations