Enum gnuplot::AutoOption [−][src]
pub enum AutoOption<T> {
Fix(T),
Auto,
}Expand description
An enumeration of something that can either be fixed (e.g. the maximum of X values), or automatically determined
Variants
Fixes the value to a specific value
Lets the value scale automatically
Implementations
Same as Option::map
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
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
Auto Trait Implementations
impl<T> RefUnwindSafe for AutoOption<T> where
T: RefUnwindSafe, impl<T> Send for AutoOption<T> where
T: Send, impl<T> Sync for AutoOption<T> where
T: Sync, impl<T> Unpin for AutoOption<T> where
T: Unpin, impl<T> UnwindSafe for AutoOption<T> where
T: UnwindSafe, Blanket Implementations
Mutably borrows from an owned value. Read more