Docs.rs
iota-conversion-0.5.1
iota-conversion 0.5.1
Permalink
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
njaremko
github:iotaledger:rs-devs
Dependencies
failure ^0.1
normal
iota-constants ^0.2.1
normal
lazy_static ^1.3
normal
rand ^0.6
dev
Versions
100%
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
iota_
conversion
0.5.1
Trytes
Aliased Type
Trait Implementations
Trinary
In crate iota_
conversion
iota_conversion
Type Alias
Trytes
Copy item path
Source
pub type Trytes =
String
;
Expand description
Type alias for
String
Aliased Type
§
pub struct Trytes {
/* private fields */
}
Trait Implementations
§
Source
§
impl
Trinary
for
Trytes
Source
§
fn
trits
(&self) ->
Vec
<
Trit
>
ⓘ
Provides the trit vector representation of the value
Source
§
fn
trits_with_length
(&self, length:
usize
) ->
Vec
<
Trit
>
ⓘ
Provides the trit vector representation of the value with given length, padding with
0
if required
Source
§
fn
trytes
(&self) ->
Result
<
Trytes
,
Error
>
Provides the tryte string representation of the value