Struct bytesize::ByteSize [] [src]

pub struct ByteSize(pub u64);

Byte size representation

Methods

impl ByteSize
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Copy for ByteSize
[src]

impl Clone for ByteSize
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ByteSize
[src]

[src]

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

[src]

This method tests for !=.

impl PartialOrd for ByteSize
[src]

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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]

[src]

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

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl Default for ByteSize
[src]

[src]

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

impl Display for ByteSize
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for ByteSize
[src]

[src]

Formats the value using the given formatter. Read more

impl Add<u64> for ByteSize
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<ByteSize> for u64
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Mul<u64> for ByteSize
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<ByteSize> for u64
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Add<u32> for ByteSize
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<ByteSize> for u32
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Mul<u32> for ByteSize
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<ByteSize> for u32
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Add<u16> for ByteSize
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<ByteSize> for u16
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Mul<u16> for ByteSize
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<ByteSize> for u16
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Add<u8> for ByteSize
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<ByteSize> for u8
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Mul<u8> for ByteSize
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<ByteSize> for u8
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Add<ByteSize> for ByteSize
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

Auto Trait Implementations

impl Send for ByteSize

impl Sync for ByteSize