Struct metfor::WindUV[][src]

pub struct WindUV<S> {
    pub u: S,
    pub v: S,
}
Expand description

Wind in U and V components in m/s.

Fields

u: Sv: S

Trait Implementations

The resulting type after applying the + operator.

Performs the + operation. Read more

Performs the += operation. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

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

This method tests for !=.

The resulting type after applying the - operator.

Performs the - operation. Read more

Performs the -= operation. Read more

Create a new instance of self by wrapping some values. This must be x-y coordinates from the standard cartesian coordinate system. Read more

Unpack a wrapped value without any error checking. The returned values represent the vector in a standard x-y cartesian coordinate system. Read more

Unwrap the values from the new type and check validity, panic if contents are invalid. The returned values represent the vector in a standard x-y cartesian coordinate system. Read more

Convert into an option that is None if the content is invalid. The returned values represent the vector in a standard x-y cartesian coordinate system. Read more

Get the magnitude of the vector.

Test whether these two vectors are close by looking at the magnitude of their difference.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.