Struct bytesize::ByteSize[][src]

pub struct ByteSize(pub u64);

Byte size representation

Methods

impl ByteSize
[src]

Trait Implementations

impl Copy for ByteSize
[src]

impl Clone for ByteSize
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ByteSize
[src]

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

This method tests for !=.

impl PartialOrd for ByteSize
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Eq for ByteSize
[src]

impl Ord for ByteSize
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Default for ByteSize
[src]

Returns the "default value" for a type. Read more

impl Display for ByteSize
[src]

Formats the value using the given formatter. Read more

impl Debug for ByteSize
[src]

Formats the value using the given formatter. Read more

impl Add<u64> for ByteSize
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Add<ByteSize> for u64
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Mul<u64> for ByteSize
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<ByteSize> for u64
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Add<u32> for ByteSize
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Add<ByteSize> for u32
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Mul<u32> for ByteSize
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<ByteSize> for u32
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Add<u16> for ByteSize
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Add<ByteSize> for u16
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Mul<u16> for ByteSize
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<ByteSize> for u16
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Add<u8> for ByteSize
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Add<ByteSize> for u8
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Mul<u8> for ByteSize
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<ByteSize> for u8
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Add<ByteSize> for ByteSize
[src]

The resulting type after applying the + operator.

Performs the + operation.

Auto Trait Implementations

impl Send for ByteSize

impl Sync for ByteSize