Struct rain_task::Resources[][src]

pub struct Resources {
    pub cpus: u32,
}

Fields

Methods

impl Resources
[src]

Trait Implementations

impl Clone for Resources
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Resources
[src]

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for Resources
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for Resources
[src]

Serialize this value into the given Serde serializer. Read more

impl Default for Resources
[src]

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

impl Eq for Resources
[src]

impl PartialEq<Resources> for Resources
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Resources

impl Sync for Resources