pub struct FamilyRange {
pub family: &'static str,
pub range: Option<[f32; 2]>,
}Expand description
Where one family-dependent parameter reads, on one family of a family-bearing system (ADR-0180 rule 4).
Fields§
§family: &'static strThe family, spelled as a preset names it ([curve] family = "...").
range: Option<[f32; 2]>The range that reads on this family, in ParamSpec::range’s sense.
None where the family does not read the parameter at all — the
reference prints it as inert there rather than leaving it to be found.
Trait Implementations§
Source§impl Clone for FamilyRange
impl Clone for FamilyRange
Source§fn clone(&self) -> FamilyRange
fn clone(&self) -> FamilyRange
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 FamilyRange
impl Debug for FamilyRange
Source§impl PartialEq for FamilyRange
impl PartialEq for FamilyRange
Source§fn eq(&self, other: &FamilyRange) -> bool
fn eq(&self, other: &FamilyRange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FamilyRange
impl StructuralPartialEq for FamilyRange
Auto Trait Implementations§
impl Freeze for FamilyRange
impl RefUnwindSafe for FamilyRange
impl Send for FamilyRange
impl Sync for FamilyRange
impl Unpin for FamilyRange
impl UnsafeUnpin for FamilyRange
impl UnwindSafe for FamilyRange
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