Struct palette::gradient::Range [] [src]

pub struct Range {
    // some fields omitted
}

A domain range for gradient slices.

Trait Implementations

impl PartialEq for Range
[src]

fn eq(&self, __arg_0: &Range) -> bool

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

fn ne(&self, __arg_0: &Range) -> bool

This method tests for !=.

impl Debug for Range
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Range
[src]

fn clone(&self) -> Range

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl From<Range<f32>> for Range
[src]

fn from(range: Range<f32>) -> Range

Performs the conversion.

impl From<RangeFrom<f32>> for Range
[src]

fn from(range: RangeFrom<f32>) -> Range

Performs the conversion.

impl From<RangeTo<f32>> for Range
[src]

fn from(range: RangeTo<f32>) -> Range

Performs the conversion.

impl From<RangeFull> for Range
[src]

fn from(_range: RangeFull) -> Range

Performs the conversion.