Struct argdata::values::Int[][src]

pub struct Int<T> { /* fields omitted */ }

Methods

impl<T: Copy> Int<T>
[src]

Trait Implementations

impl<T: Clone> Clone for Int<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Copy> Copy for Int<T>
[src]

impl<T: PartialEq> PartialEq for Int<T>
[src]

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

This method tests for !=.

impl<T: Eq> Eq for Int<T>
[src]

impl<T: PartialOrd> PartialOrd for Int<T>
[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<T: Ord> Ord for Int<T>
[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<T: Hash> Hash for Int<T>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<T: Debug> Debug for Int<T>
[src]

Formats the value using the given formatter. Read more

impl<'d, T> Argdata<'d> for Int<T> where
    T: Copy,
    IntValue<'static>: From<T>, 
[src]

Read the value.

The number of bytes that self.serialize() will write.

Serialize the argdata to the given writer. Read more

Read the type of the value.

Check if the value is null.

Check if the value is a binary blob, and read it if it is.

Check if the value is a boolean, and read it if it is.

Check if the value is a file descriptor, and return it if it is. Read more

Check if the value is a float, and read it if it is.

Check if the value is an integer, and read it if it is. Read more

Check if the value is a map, and get access to it if it is.

Check if the value is a seq, and get access to it if it is.

Check if the value is a string, and read it if it is. Read more

Check if the value is a timestamp, and read it if it is.

Auto Trait Implementations

impl<T> Send for Int<T> where
    T: Send

impl<T> Sync for Int<T> where
    T: Sync