#[non_exhaustive]pub struct ParameterLabels {
pub apply: String,
pub reset: String,
}Expand description
The text a parameter panel shows.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.apply: StringApplies the values.
reset: StringGoes back to the defaults.
Implementations§
Source§impl ParameterLabels
impl ParameterLabels
Sourcepub fn from_texts(texts: &Texts) -> Self
pub fn from_texts(texts: &Texts) -> Self
The texts of a catalog, in its language. What it does not have comes from English.
Trait Implementations§
Source§impl Clone for ParameterLabels
impl Clone for ParameterLabels
Source§fn clone(&self) -> ParameterLabels
fn clone(&self) -> ParameterLabels
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParameterLabels
impl Debug for ParameterLabels
Auto Trait Implementations§
impl Freeze for ParameterLabels
impl RefUnwindSafe for ParameterLabels
impl Send for ParameterLabels
impl Sync for ParameterLabels
impl Unpin for ParameterLabels
impl UnsafeUnpin for ParameterLabels
impl UnwindSafe for ParameterLabels
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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