Struct iced_audio::native::text_marks::Group [−][src]
A group of text marks.
Fields
group: Vec<(Normal, String)>
The group of text marks.
Implementations
impl Group
[src]
impl Group
[src]pub fn from_normalized(text_marks: &[(Normal, &str)]) -> Self
[src]
pub fn from_normalized(text_marks: &[(Normal, &str)]) -> Self
[src]Constructs a new Group
from a vector of TextMark
s.
pub fn min_max_and_center(
min_text: &str,
max_text: &str,
center_text: &str
) -> Self
[src]
pub fn min_max_and_center(
min_text: &str,
max_text: &str,
center_text: &str
) -> Self
[src]pub fn subdivided(text: &[&str], min: Option<&str>, max: Option<&str>) -> Self
[src]
pub fn subdivided(text: &[&str], min: Option<&str>, max: Option<&str>) -> Self
[src]Creates a group of text marks by subdividing the range
text
- a group of strings to be evenly spaced across the range (not including the minimum and maximum positions)min
- optional text to display at the minimum positionmax
- optional text to display at the maximum position
pub fn evenly_spaced(text: &[&str]) -> Self
[src]
pub fn evenly_spaced(text: &[&str]) -> Self
[src]Creates a group of evenly spaced text marks
text
- a group of strings to be displayed
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnwindSafe for Group
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,