Crate timecat

source ·

Re-exports§

Modules§

Macros§

Structs§

  • A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
  • A vector with a fixed capacity.
  • A boolean type which can be safely shared between threads.
  • An integer type which can be safely shared between threads.
  • A Duration type to represent a span of time, typically used for system timeouts.
  • A measurement of a monotonically nondecreasing clock. Opaque and useful only with Duration.
  • A mutual exclusion primitive useful for protecting shared data
  • An error returned when parsing a bool using from_str fails
  • An error which can be returned when parsing an integer.

Enums§

  • An Ordering is the result of a comparison between two values.

Statics§

Traits§

  • The addition operator +.
  • The addition assignment operator +=.
  • The bitwise AND operator &.
  • The bitwise AND assignment operator &=.
  • The bitwise OR operator |.
  • The bitwise OR assignment operator |=.
  • The bitwise XOR operator ^.
  • The bitwise XOR assignment operator ^=.
  • Error is a trait representing the basic expectations for error values, i.e., values of type E in Result<T, E>.
  • The Fail trait.
  • Used to do value-to-value conversions while consuming the input value. It is the reciprocal of Into.
  • Parse a value from a string
  • Used for indexing operations (container[index]) in immutable contexts.
  • Used for indexing operations (container[index]) in mutable contexts.
  • The multiplication operator *.
  • The multiplication assignment operator *=.
  • The unary logical negation operator !.
  • The left shift operator <<. Note that because this trait is implemented for all integer types with multiple right-hand-side types, Rust’s type checker has special handling for _ << _, setting the result type for integer operations to the type of the left-hand-side operand. This means that though a << b and a.shl(b) are one and the same from an evaluation standpoint, they are different when it comes to type inference.
  • The left shift assignment operator <<=.
  • The right shift operator >>. Note that because this trait is implemented for all integer types with multiple right-hand-side types, Rust’s type checker has special handling for _ >> _, setting the result type for integer operations to the type of the left-hand-side operand. This means that though a >> b and a.shr(b) are one and the same from an evaluation standpoint, they are different when it comes to type inference.
  • The right shift assignment operator >>=.
  • The subtraction operator -.
  • The subtraction assignment operator -=.

Functions§

  • Reinterprets the bits of a value of one type as another type.

Derive Macros§