Struct sample::types::i11::I11[][src]

pub struct I11(_);

Methods

impl I11
[src]

Construct a new sample if the given value is within range.

Returns None if val is out of range.

Constructs a new sample without checking for overflowing.

This should only be used if the user can guarantee the sample will be within range and they require the extra performance.

If this function is used, the sample crate can't guarantee that the returned sample or any interacting samples will remain within their MIN and MAX bounds.

Return the internal value used to represent the sample type.

Trait Implementations

impl Copy for I11
[src]

impl Clone for I11
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for I11
[src]

Formats the value using the given formatter. Read more

impl PartialEq for I11
[src]

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

This method tests for !=.

impl Eq for I11
[src]

impl PartialOrd for I11
[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 Ord for I11
[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 Default for I11
[src]

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

impl From<i16> for I11
[src]

Performs the conversion.

impl Add<I11> for I11
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Sub<I11> for I11
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Mul<I11> for I11
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Div<I11> for I11
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl Not for I11
[src]

The resulting type after applying the ! operator.

Performs the unary ! operation.

impl Rem<I11> for I11
[src]

The resulting type after applying the % operator.

Performs the % operation.

impl Shl<I11> for I11
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl Shr<I11> for I11
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl BitAnd<I11> for I11
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl BitOr<I11> for I11
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl BitXor<I11> for I11
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl From<i8> for I11
[src]

Performs the conversion.

impl From<u8> for I11
[src]

Performs the conversion.

impl Neg for I11
[src]

The resulting type after applying the - operator.

Performs the unary - operation.

impl From<I11> for I20
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for I11

impl Sync for I11