pub struct Ramp { /* private fields */ }
Expand description
Utility data structure to display one of several strings based on a value in a range, like a volume icon.
Implementations§
Trait Implementations§
Source§impl Extend<String> for Ramp
impl Extend<String> for Ramp
Source§fn extend<T: IntoIterator<Item = String>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = String>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl FromIterator<String> for Ramp
impl FromIterator<String> for Ramp
Source§impl Ord for Ramp
impl Ord for Ramp
Source§impl PartialOrd for Ramp
impl PartialOrd for Ramp
impl Eq for Ramp
impl StructuralPartialEq for Ramp
Auto Trait Implementations§
impl Freeze for Ramp
impl RefUnwindSafe for Ramp
impl Send for Ramp
impl Sync for Ramp
impl Unpin for Ramp
impl UnwindSafe for Ramp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.