Docs.rs
  • diff-struct-0.5.3
    • diff-struct 0.5.3
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • benhall-7
    • Dependencies
      • diff_derive ^0.2.3 normal
      • num ^0.4.0 normal optional
      • serde ^1 normal
      • quickcheck ^0.8 dev
      • quickcheck_derive ^0.3 dev
      • quickcheck_macros ^0.8 dev
      • rand ^0.6 dev
    • Versions
    • 57.45% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate diff

diff0.5.3

  • All Items

Crate Items

  • Modules
  • Structs
  • Enums
  • Traits
  • Derive Macros

Crates

  • diff

Crate diff

Source

Modules§

utils

Structs§

ArrayDiff
The collection of difference-vec’s
ArrayDiffType
The type of change to make to an array
BTreeMapDiff
The diff struct used to compare two BTreeMap’s
BTreeSetDiff
The diff struct used to compare two BTreeMap’s
HashMapDiff
The diff struct used to compare two HashMap’s
HashSetDiff
The diff struct used to compare two HashSet’s
VecDiff
The collection of difference-vec’s

Enums§

OptionDiff
VecDiffType
The type of change to make to a vec

Traits§

Diff
A trait to diff and apply diffs between two structs The derive macro can be used on structs when all fields of the struct implement Diff Implementations are provided for bools, numeric types, Option types, and HashMaps
Differ
A trait allowing a custom struct to handle the diffing implementation for a type

Derive Macros§

Diff

Results

Settings
Help
    trait
    diff::Differ
    A trait allowing a custom struct to handle the diffing …
    trait
    diff::Diff
    A trait to diff and apply diffs between two structs The …
    trait method
    diff::Diff::diff
    Produces a diff between two structs
    extern crate
    diff
    trait method
    diff::Differ::diff
    derive macro
    diff::Diff
    trait method
    diff::Differ::diff
    &Differ, &T, &T -> Differ::Repr
    trait method
    diff::Differ::apply
    &Differ, &mut T, &Differ::Repr -> ()
    method
    diff::Diff::apply_custom
    &mut Diff, &, &D -> ()
    where
    D: Differ<Diff>
    Applies the diff directly to the struct, using an external …
    method
    diff::Diff::diff_custom
    &Diff, &Diff, &D ->
    where
    D: Differ<Diff>
    Produces a diff between two structs, using an external …
    method
    diff::Diff::apply_new_custom
    &Diff, &, &D -> Diff
    where
    D: Differ<Diff>
    Applies the diff to the struct and produces a new struct, …
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.