Struct avalanche_types::ids::bag::Unique

source ·
pub struct Unique(_);
Expand description

Maps from an Id to the BitSet. ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/ids#UniqueBag

Implementations§

Trait Implementations§

Returns the “default value” for a type. Read more

ref. https://doc.rust-lang.org/std/string/trait.ToString.html ref. https://doc.rust-lang.org/std/fmt/trait.Display.html Use “Self.to_string()” to directly invoke this

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.