Docs.rs
haystack-types-0.1.1
haystack-types 0.1.1
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
candronikos
Dependencies
chrono ^0.4
normal
chrono-tz ^0.9
normal
nom ^8.0.0
normal
num ^0.4.3
normal
url ^2.5
normal
Versions
0%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
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
Number
haystack_
types
0.1.1
Number
Aliased Type
Methods
new
val
In crate haystack_
types
haystack_types
Type Alias
Number
Copy item path
Source
pub type Number<T> = HNumber<T>;
Aliased Type
§
pub struct Number<T> {
/* private fields */
}
Implementations
§
Source
§
impl<T:
Float
+
Display
>
Number
<T>
Source
pub fn
new
(num: T, unit:
Option
<
HUnit
>) -> Self
Source
pub fn
val
(&self) -> T