Struct argdata::IntValue[][src]

pub struct IntValue<'a> { /* fields omitted */ }

Represents a signed integer value of any size.

An integer that fits in a u64 or i64 is directly stored in the object. Anything bigger is stored somewhere else (with lifetime 'a) as a 2's complement big-endian integer in the form of an [u8].

Methods

impl<'a> IntValue<'a>
[src]

impl<'a> IntValue<'a>
[src]

Trait Implementations

impl<'a> Clone for IntValue<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Copy for IntValue<'a>
[src]

impl<'a> PartialEq for IntValue<'a>
[src]

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

This method tests for !=.

impl<'a> Eq for IntValue<'a>
[src]

impl<'a> From<i8> for IntValue<'a>
[src]

Performs the conversion.

impl<'a> TryFrom<IntValue<'a>> for i8
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<'a> From<i16> for IntValue<'a>
[src]

Performs the conversion.

impl<'a> TryFrom<IntValue<'a>> for i16
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<'a> From<i32> for IntValue<'a>
[src]

Performs the conversion.

impl<'a> TryFrom<IntValue<'a>> for i32
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<'a> From<i64> for IntValue<'a>
[src]

Performs the conversion.

impl<'a> TryFrom<IntValue<'a>> for i64
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<'a> From<u8> for IntValue<'a>
[src]

Performs the conversion.

impl<'a> TryFrom<IntValue<'a>> for u8
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<'a> From<u16> for IntValue<'a>
[src]

Performs the conversion.

impl<'a> TryFrom<IntValue<'a>> for u16
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<'a> From<u32> for IntValue<'a>
[src]

Performs the conversion.

impl<'a> TryFrom<IntValue<'a>> for u32
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<'a> From<u64> for IntValue<'a>
[src]

Performs the conversion.

impl<'a> TryFrom<IntValue<'a>> for u64
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<'a> PartialOrd<IntValue<'a>> for IntValue<'a>
[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<'a> Ord for IntValue<'a>
[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<'a> Debug for IntValue<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for IntValue<'a>

impl<'a> Sync for IntValue<'a>