Struct test_assets::Sha256Hash [] [src]

pub struct Sha256Hash(_);

A type for a Sha256 hash value

Provides conversion functionality to hex representation and back

Methods

impl Sha256Hash
[src]

[src]

[src]

Converts the hexadecimal string to a hash value

[src]

Converts the hash value to hexadecimal

Trait Implementations

impl PartialEq for Sha256Hash
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for Sha256Hash
[src]

impl Hash for Sha256Hash
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

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

impl Clone for Sha256Hash
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Sha256Hash

impl Sync for Sha256Hash